diff options
Diffstat (limited to 'tests/misc/date')
-rwxr-xr-x | tests/misc/date | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/misc/date b/tests/misc/date index 8a23ca9c6..8b6fdb24d 100755 --- a/tests/misc/date +++ b/tests/misc/date @@ -282,6 +282,11 @@ my @Tests = # most others print 'WED DEC 8 07:30:00 1999'. {OUT_SUBST => 's/ [ 0]8.*//'}, {OUT=>'WED DEC'}], + + ['invalid-high-bit-set', "-d '\xb0'", + {ERR => "date: invalid date '\\260'\n"}, + {EXIT => 1}, + ], ); # Repeat the cross-dst test, using Jan 1, 2005 and every interval from 1..364. |