guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: tests: pack-relocatable: Ensure commands can run


From: guix-commits
Subject: branch master updated: tests: pack-relocatable: Ensure commands can run in the current namespace.
Date: Fri, 04 Dec 2020 08:14:52 -0500

This is an automated email from the git hooks/post-receive script.

pgarlick pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new a67b824  tests: pack-relocatable: Ensure commands can run in the 
current namespace.
a67b824 is described below

commit a67b82475dc14d0be7e14a5438ce70fa94de1907
Author: Paul Garlick <pgarlick@tourbillion-technology.com>
AuthorDate: Fri Dec 4 12:20:58 2020 +0000

    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 2beb1b1..b90bc7f 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
 }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]