summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Garlick <pgarlick@tourbillion-technology.com>2020-12-04 12:20:58 +0000
committerPaul Garlick <pgarlick@tourbillion-technology.com>2020-12-04 13:12:08 +0000
commita67b82475dc14d0be7e14a5438ce70fa94de1907 (patch)
tree32e57614df8175994722a1f827137e223fd97bcd
parent133414ad89e70fec6442f4694cedc11e9954fb88 (diff)
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.
-rw-r--r--tests/guix-pack-relocatable.sh2
1 files changed, 1 insertions, 1 deletions
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
}