From 7249881d04474eee5d0014f7cb6ecf3715d98694 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Mon, 12 Jul 2021 07:44:47 -0700 Subject: tests: weaken condition in path search for sh. * tests/018/path-test.tl: In the Guix build environment, the shell might be found at a path not ending in bin. Let's ust test for ending in /bin. Reported and investigated by Paul A. Patience. --- tests/018/path-test.tl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/018/path-test.tl b/tests/018/path-test.tl index 0fbc5115..75a8d2d3 100644 --- a/tests/018/path-test.tl +++ b/tests/018/path-test.tl @@ -1,7 +1,7 @@ (load "../common") (mtest - (ends-with "/bin/sh" (path-search "sh")) t + (ends-with "/sh" (path-search "sh")) t (path-search "AlMoStCeRtAiNlLyNoNeXisTenT") nil (path-search "") nil (path-search "sh" nil) nil -- cgit v1.2.3