summaryrefslogtreecommitdiffstats
path: root/tests/018/path-test.tl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/018/path-test.tl')
-rw-r--r--tests/018/path-test.tl5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/018/path-test.tl b/tests/018/path-test.tl
index 75a8d2d3..919186ac 100644
--- a/tests/018/path-test.tl
+++ b/tests/018/path-test.tl
@@ -1,7 +1,10 @@
(load "../common")
+(unless (path-executable-to-me-p "/bin/sh")
+ (exit 0))
+
(mtest
- (ends-with "/sh" (path-search "sh")) t
+ (ends-with "/bin/sh" (path-search "sh")) t
(path-search "AlMoStCeRtAiNlLyNoNeXisTenT") nil
(path-search "") nil
(path-search "sh" nil) nil