From a67b82475dc14d0be7e14a5438ce70fa94de1907 Mon Sep 17 00:00:00 2001 From: Paul Garlick Date: Fri, 4 Dec 2020 12:20:58 +0000 Subject: [PATCH] tests: pack-relocatable: Ensure commands can run in the current namespace. * tests/guix-pack-relocatable (run_without_store): Use subshell to run commands in the current namespace. This avoids shell syntax and parsing errors. --- tests/guix-pack-relocatable.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/guix-pack-relocatable.sh b/tests/guix-pack-relocatable.sh index 2beb1b1eb6..b90bc7f891 100644 --- a/tests/guix-pack-relocatable.sh +++ b/tests/guix-pack-relocatable.sh @@ -55,7 +55,7 @@ run_without_store () # Run the relocatable program in the current namespaces. This is a # weak test because we're going to access store items from the host # store. - $* + sh -c "$*" fi }