diff options
author | Jim Meyering <jim@meyering.net> | 2005-08-17 19:56:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-08-17 19:56:44 +0000 |
commit | df23c845d2d2c31eaa17446448aa8630f5971138 (patch) | |
tree | 2de2c0bc10d7d0b31f8dd3f03f1802ae3a0f3ee5 /tests | |
parent | 147d65828a6b965841295a21091f19f4bed6be0f (diff) | |
download | coreutils-df23c845d2d2c31eaa17446448aa8630f5971138.tar.xz |
[neg-secs]: New test for today's strftime.c bug fix.
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/misc/date | 2 |
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 |