commit caf2e18e331c5df2d7a005568a4993b0b78bd1bc Author: siiky Date: Tue Sep 8 10:47:33 2026 +0100 Fix `copy-file` test when using `PROGRAM_{PRE,SUF}FIX` diff --git a/tests/test-copy-file.scm b/tests/test-copy-file.scm index 1062429c..112fa732 100644 --- a/tests/test-copy-file.scm +++ b/tests/test-copy-file.scm @@ -1,9 +1,12 @@ (import (chicken file) (chicken file posix) - (chicken pathname)) + (chicken pathname) + (chicken process-context)) + +(include "programs-path.scm") (delete-file* "csi.copy") -(let* ((orig-csi (make-pathname ".." "csi")) +(let* ((orig-csi csi-path) (orig-size (file-size orig-csi))) (copy-file orig-csi "csi.copy") (let ((copy-size (file-size "csi.copy")))