diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-07-13 07:33:06 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-07-13 07:33:06 -0700 |
commit | 2a69cc88e868653e89cf0c9de6c4e48cb790511a (patch) | |
tree | c26e6752b255dc0157f6b74d7c308054bce4cb40 /tests/002 | |
parent | e3b13d2f147596c483797cf4dd54420cf7aa34e4 (diff) | |
download | txr-2a69cc88e868653e89cf0c9de6c4e48cb790511a.tar.gz txr-2a69cc88e868653e89cf0c9de6c4e48cb790511a.tar.bz2 txr-2a69cc88e868653e89cf0c9de6c4e48cb790511a.zip |
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.
Diffstat (limited to 'tests/002')
-rw-r--r-- | tests/002/query-1.txr | 2 |
1 files changed, 1 insertions, 1 deletions
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) |