summaryrefslogtreecommitdiff
path: root/tests/misc/date
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc/date')
-rwxr-xr-xtests/misc/date2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/date b/tests/misc/date
index d1329dc0e..13527e1ce 100755
--- a/tests/misc/date
+++ b/tests/misc/date
@@ -192,6 +192,8 @@ my @Tests =
['empty-fmt', '+', {OUT=>"\n"}],
+ ['neg-secs', '-d @-22 +%05s', {OUT=>"-0022\n"}],
+
# Before today's fix, date would print uninitialized data
# to standard output for an out-of-range date:
# $ /p/bin/date -d @$(echo 2^56-1|bc) 2> /dev/null | od -a -N3