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.
This commit is contained in:
Paul Garlick 2020-12-04 12:20:58 +00:00
parent 133414ad89
commit a67b82475d
No known key found for this signature in database
GPG key ID: AAC7E891896B568A

View file

@ -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
}