summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-09-24 07:05:27 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-09-24 07:05:27 +0000
commit0c42a4951b975c7fa82e597fbdd0dff786a64663 (patch)
treea15133b61aad53fa053892d3d10f5fac3856b9a4 /tests/misc
parent0f31fc1440dc56401342934bdc72d36785413f07 (diff)
downloadcoreutils-0c42a4951b975c7fa82e597fbdd0dff786a64663.tar.xz
(uninit-64): Remove this test. It wasn't
portable in theory (it doesn't work on hosts where 'int' is 64 bits, example) or in practice (Solaris 8 localtime returns garbage in tm_year for the specified date, but that's not coreutils's fault).
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/date17
1 files changed, 0 insertions, 17 deletions
diff --git a/tests/misc/date b/tests/misc/date
index 76a7ef09b..651a2467e 100755
--- a/tests/misc/date
+++ b/tests/misc/date
@@ -223,23 +223,6 @@ my @Tests =
['neg-secs', '-d @-22 +%05s', {OUT=>"-0022"}],
['neg-secs2', '-d @-22 +%_5s', {OUT=>" -22"}],
- # Before today's fix, date would print uninitialized data
- # to standard output for an out-of-range date:
- # $ date -d @$(echo 2^56-1|bc) 2> /dev/null | od -a -N3
- # 0000000 p 4 6
- # 0000003
- ['uninit-64', '-d @72057594037927935',
- {OUT=>''},
- # Use ERR_SUBST to get around fact that the diagnostic
- # you get on a system with 32-bit time_t is not the same as
- # the one you get for a system where it's 64 bits wide:
- # - date: time 72057594037927935 is out of range
- # + date: invalid date `@72057594037927935'
- {ERR_SUBST => 's/.*//'},
- {ERR => "\n"},
- {EXIT => 1},
- ],
-
['fill-1', '-d 1999-12-08 +%_3d', {OUT=>' 8'}],
['fill-2', '-d 1999-12-08 +%03d', {OUT=>'008'}],