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".master
parent
efe7a17406
commit
0d8d499036
|
@ -50,7 +50,7 @@
|
||||||
(open-connection-for-tests))
|
(open-connection-for-tests))
|
||||||
|
|
||||||
(define %shell
|
(define %shell
|
||||||
(or (getenv "SHELL") (getenv "CONFIG_SHELL")))
|
(or (getenv "SHELL") (getenv "CONFIG_SHELL") "/bin/sh"))
|
||||||
|
|
||||||
|
|
||||||
(test-begin "store")
|
(test-begin "store")
|
||||||
|
|
Reference in New Issue