mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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".
This commit is contained in:
parent
efe7a17406
commit
0d8d499036
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ (define %store
|
|||
(open-connection-for-tests))
|
||||
|
||||
(define %shell
|
||||
(or (getenv "SHELL") (getenv "CONFIG_SHELL")))
|
||||
(or (getenv "SHELL") (getenv "CONFIG_SHELL") "/bin/sh"))
|
||||
|
||||
|
||||
(test-begin "store")
|
||||
|
|
Loading…
Reference in a new issue