[Git][cmucl/cmucl][issue-469-enable-cr-pow] Use touch -t to set the timestamps
Raymond Toy pushed to branch issue-469-enable-cr-pow at cmucl / cmucl Commits: d362a957 by Raymond Toy at 2026-02-03T07:49:17-08:00 Use touch -t to set the timestamps On Ubuntu 25.10, `touch -d` was setting the timestamp on the files to the correct year, month, and date but the time to 01:00:00, but on my Linux system the time is 00:00:00. Use -t to set the time since it's easy to understand the format used by -t. Manually tested this on Ubuntu and the time is correct. - - - - - 1 changed file: - bin/run-unit-tests.sh Changes: ===================================== bin/run-unit-tests.sh ===================================== @@ -56,8 +56,9 @@ ln -s /bin/ls test-tmp/ls-link # tests/os.lisp. case `uname -s` in Linux) - touch -d "1 April 2038" tests/resources/64-bit-timestamp-2038.txt - touch -d "1 April 2106" tests/resources/64-bit-timestamp-2106.txt + # -t format is [[CC]YY]MMDDhhmm[.ss] + touch -t 203804010000 tests/resources/64-bit-timestamp-2038.txt + touch -t 210604010000 tests/resources/64-bit-timestamp-2106.txt ;; esac View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d362a957d0c67b292e791fa6... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/d362a957d0c67b292e791fa6... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)