diff options
author | Leo Famulari <leo@famulari.name> | 2021-02-11 15:25:42 -0500 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-03-18 15:16:07 -0400 |
commit | 0d8d499036f632e03f63bdaf36b02861ea52b3e6 (patch) | |
tree | 859c92d084849d173ed9035369939b6d7da626b3 /tests/store.scm | |
parent | efe7a17406ef3161da1d2bf3069ed456d811ae2f (diff) | |
download | guix-0d8d499036f632e03f63bdaf36b02861ea52b3e6.tar guix-0d8d499036f632e03f63bdaf36b02861ea52b3e6.tar.gz |
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".
Diffstat (limited to 'tests/store.scm')
-rw-r--r-- | tests/store.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/store.scm b/tests/store.scm index cda0e0302f..9c25adf5e9 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") |