]> wimlib.net Git - wimlib/blobdiff - tests/common_tests.sh
tests: test capturing+applying file with negative UNIX timestamp
[wimlib] / tests / common_tests.sh
index 6e585a8afbf1942a6c667122380d0cafeaa7224a..68ccba6228ea47263f5e806dd9f652be6dcde6fb 100644 (file)
@@ -49,7 +49,7 @@ do_test 'echo 888 > file;
         echo 888 > file3'
 
 msg "C source code of wimlib"
-do_test 'cp $srcdir/src/*.{c,h} .'
+do_test 'cp $srcdir/src/*.c .'
 
 msg "tons of random stuff"
 do_test 'echo -n 8 > file;
@@ -69,3 +69,6 @@ do_test 'echo -n 8 > file;
         ln file dir/subdir/file;
         echo -n 8 > dir/subdir/file2;
         ln dir/subdir/file dir/subdir/link;'
+
+ msg "timestamp before 1970 (before start of UNIX epoch)"
+ do_test 'touch -t 196901231234.56 file'