From df23c845d2d2c31eaa17446448aa8630f5971138 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Wed, 17 Aug 2005 19:56:44 +0000 Subject: [neg-secs]: New test for today's strftime.c bug fix. --- tests/misc/date | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 -- cgit v1.2.3-70-g09d2