summaryrefslogtreecommitdiff
path: root/tests/misc/date
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-08-15 13:05:58 +0000
committerJim Meyering <jim@meyering.net>2005-08-15 13:05:58 +0000
commitc013687ab164a225a747d5aabb561167a73cf5b7 (patch)
tree79cf849656bb1cb2681c468be985b2dd224e989c /tests/misc/date
parent9d534aa492a0b4760bd5dd61d02c6ddac19f450a (diff)
downloadcoreutils-c013687ab164a225a747d5aabb561167a73cf5b7.tar.xz
add comment
Diffstat (limited to 'tests/misc/date')
-rwxr-xr-xtests/misc/date7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/misc/date b/tests/misc/date
index 17b6c48d0..d1329dc0e 100755
--- a/tests/misc/date
+++ b/tests/misc/date
@@ -199,6 +199,11 @@ my @Tests =
# 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},
@@ -221,3 +226,5 @@ my $prog = 'date';
my $fail = run_tests ($ME, $prog, \@Tests, $save_temps, $verbose);
exit $fail;
EOF
+
+j