Raymond Toy pushed to branch issue-469-enable-cr-pow at cmucl / cmucl Commits: 3713015e by Raymond Toy at 2026-02-03T08:36:26-08:00 Fix #470: Fix unit test issues on Ubuntu CI For the timestamps, use `touch -t` to specify the time including hour and minutes. Previously, Ubuntu was using the time as 01:00:00 instead of the expected 00:00:00. Using `-t` makes it easy to read the expected time. On Ubuntu 25.10, you can't symlink to /bin/ls. It produces a security violation about the program name being incorrect. Instead define a simple shell script to run /bin/ls. - - - - - f141f493 by Raymond Toy at 2026-02-03T15:58:55-08:00 Just use a shell script for ls-link The attempt of linking ls-link to the actual location of /bin/ls doesn't work. Use a shell script instead. The script is in tests/test-run-prog which means issues.lisp needs to be informed of the new location. - - - - - 5d8c6845 by Raymond Toy at 2026-02-03T17:15:02-08:00 Forgot to add the ls-link script - - - - - dd6a4f9e by Raymond Toy at 2026-02-04T16:14:36-08:00 Merge branch 'issue-470-ubuntu-ci-failures' into issue-469-enable-cr-pow - - - - - 3 changed files: - bin/run-unit-tests.sh - tests/issues.lisp - + tests/test-run-prog/ls-link Changes: ===================================== bin/run-unit-tests.sh ===================================== @@ -42,9 +42,9 @@ done shift $((OPTIND - 1)) # Create the test directory needed by the issue.45 test. -rm -rf test-tmp -mkdir test-tmp -ln -s /bin/ls test-tmp/ls-link +#rm -rf test-tmp +#mkdir test-tmp +#ln -s /bin/ls test-tmp/ls-link # Set the timestamps on 64-bit-timestamp-2038.txt and # 64-bit-timestamp-2106.txt, but only for OSes where we know this ===================================== tests/issues.lisp ===================================== @@ -436,7 +436,7 @@ (define-test issue.45 (:tag :issues) ;; This depends on run-tests to setup the test directory correctly! - (let* ((test-dir #p"test-tmp/") + (let* ((test-dir #p"tests/test-run-prog/") (test-dir-name (namestring test-dir))) (flet ((do-test (program) (with-output-to-string (s) ===================================== tests/test-run-prog/ls-link ===================================== @@ -0,0 +1,2 @@ +#! /bin/sh +exec /bin/ls "$@" View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/bd64e4c64e601124cd25a07... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/compare/bd64e4c64e601124cd25a07... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)