From 2a69cc88e868653e89cf0c9de6c4e48cb790511a Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Tue, 13 Jul 2021 07:33:06 -0700 Subject: tests: guix fixes. * tests/002/query-1.txr: Skip test if an executable /bin/sh doesn't exist, rather than the bogus reasons. * tests/010/json.tl: Change the condition for the command-put-json tests: not whether cat is found in the search path but whether /bin/sh exists and is executable. * tests/017/realpath.tl: Also quit if /usr/bin doesn't exist. * tests/018/path-test.tl: Exit succesfully if /bin/sh does not exist. Revert the earlier change. * tests/018/process.tl: Quit if no executable /bin/sh exists. --- tests/017/realpath.tl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/017/realpath.tl') diff --git a/tests/017/realpath.tl b/tests/017/realpath.tl index 5471a1c8..68ee7a7f 100644 --- a/tests/017/realpath.tl +++ b/tests/017/realpath.tl @@ -1,6 +1,7 @@ (load "../common") -(when (memq (os-symbol) '(:cygwin :solaris :android)) +(when (or (memq (os-symbol) '(:cygwin :solaris :android)) + (not (path-exists-p "/usr/bin"))) (put-string (file-get-string "tests/017/realpath.expected")) (exit 0)) -- cgit v1.2.3