The test suite fails if a non-english locale is set. For instance, if LANG is set to de_DE.UTF-8, testBadDate() and testBadDateFromList() fail because they expect stderr to start with date: invalid date, but get date: ungültiges Datum. testWibble() fails because it expects Cannot run program "wibble": error=2, No such file or directory but gets Cannot run program "wibble": error=2, Datei oder Verzeichnis nicht gefunden.
This PR removes the locale sensitive bits from the expected error output in the tests.
The test suite fails if a non-english locale is set. For instance, if LANG is set to de_DE.UTF-8, testBadDate() and testBadDateFromList() fail because they expect stderr to start with
date: invalid date
, but getdate: ungültiges Datum
. testWibble() fails because it expectsCannot run program "wibble": error=2, No such file or directory
but getsCannot run program "wibble": error=2, Datei oder Verzeichnis nicht gefunden
.This PR removes the locale sensitive bits from the expected error output in the tests.