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/002/query-1.txr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/002') diff --git a/tests/002/query-1.txr b/tests/002/query-1.txr index a98b82eb..4bd6c97f 100644 --- a/tests/002/query-1.txr +++ b/tests/002/query-1.txr @@ -1,4 +1,4 @@ -@(do (unless (and (path-search "ls") (path-search "sort")) +@(do (unless (path-executable-to-me-p "/bin/sh") (exit 13))) @(next `!ls @TESTDIR/proc | sort -n`) @(collect) -- cgit v1.2.3