From b20171a41a97dbfd75a98955694eb9df5314ef27 Mon Sep 17 00:00:00 2001 From: "Klaus T. Aehlig" Date: Mon, 5 Feb 2024 11:46:34 +0100 Subject: end-to-end tests: inherit path ... for test actions, by setting an appropriate local launcher. In this way, the tests can also be run on systems where sh does not pull in enough paths to have all the "usual" tools available. --- test/end-to-end/generated-binary/shell-script.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/end-to-end/generated-binary/shell-script.sh') diff --git a/test/end-to-end/generated-binary/shell-script.sh b/test/end-to-end/generated-binary/shell-script.sh index 6dfaa500..3718a0f8 100755 --- a/test/end-to-end/generated-binary/shell-script.sh +++ b/test/end-to-end/generated-binary/shell-script.sh @@ -58,6 +58,6 @@ cat > TARGETS <<'EOI' EOI -bin/tool-under-test install -o out --local-build-root .tool-root 2>&1 +bin/tool-under-test install -L '["env", "PATH='"${PATH}"'"]' -o out --local-build-root .tool-root 2>&1 grep Hello out/out.txt grep Good out/out.txt -- cgit v1.2.3