X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=tests%2Fcommon_tests.sh;h=68ccba6228ea47263f5e806dd9f652be6dcde6fb;hb=2fd8bf9f1c54daa5680ad8998b2228a4db9bd6de;hp=240f9a5714f014041cdd78626ec4e6629f01d663;hpb=302d18acd7ed0423cfd37a9f1a8f5b70a8fe9965;p=wimlib diff --git a/tests/common_tests.sh b/tests/common_tests.sh index 240f9a57..68ccba62 100644 --- a/tests/common_tests.sh +++ b/tests/common_tests.sh @@ -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'