guix-commits
[Top][All Lists]
Advanced

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

branch master updated: tests: Make the STORE test more robust in a "pure


From: guix-commits
Subject: branch master updated: tests: Make the STORE test more robust in a "pure" environment.
Date: Thu, 18 Mar 2021 15:16:26 -0400

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

lfam pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 0d8d499  tests: Make the STORE test more robust in a "pure" 
environment.
0d8d499 is described below

commit 0d8d499036f632e03f63bdaf36b02861ea52b3e6
Author: Leo Famulari <leo@famulari.name>
AuthorDate: Thu Feb 11 15:25:42 2021 -0500

    tests: Make the STORE test more robust in a "pure" environment.
    
    Otherwise, the test crashes (not fails) when run in `guix environment 
--pure guix`.
    
    Fixes <https://bugs.gnu.org/46445>.
    
    * tests/store.scm (%shell): Fallback to "/bin/sh".
---
 tests/store.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/store.scm b/tests/store.scm
index cda0e03..9c25adf 100644
--- a/tests/store.scm
+++ b/tests/store.scm
@@ -50,7 +50,7 @@
   (open-connection-for-tests))
 
 (define %shell
-  (or (getenv "SHELL") (getenv "CONFIG_SHELL")))
+  (or (getenv "SHELL") (getenv "CONFIG_SHELL") "/bin/sh"))
 
 
 (test-begin "store")



reply via email to

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