From 98b120646119c0bcb689b4e2f61e6beeb085522f 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