summaryrefslogtreecommitdiff
path: root/tests/touch/obsolescent
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-11-01 23:42:57 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-11-01 23:42:57 +0000
commit473a0d6209aff2dc3108919963ddd778614f706d (patch)
tree01e5ea9f41ea09dad6419a5c9ec2cc77eea15b72 /tests/touch/obsolescent
parenta2bacbdc9cf244eebd0c04a9d5b553ca241fd4c5 (diff)
downloadcoreutils-473a0d6209aff2dc3108919963ddd778614f706d.tar.xz
Add y2000 test.
Diffstat (limited to 'tests/touch/obsolescent')
-rwxr-xr-xtests/touch/obsolescent4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/touch/obsolescent b/tests/touch/obsolescent
index d6689b34f..98dfdd742 100755
--- a/tests/touch/obsolescent
+++ b/tests/touch/obsolescent
@@ -36,4 +36,8 @@ for ones in 11111111 1111111111; do
done
done
+y2000=0101000000
+rm -f $y2000 file || fail=1
+touch $y2000 file && test -f $y2000 && test -f file || fail=1
+
(exit $fail); exit $fail