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:
Leo Famulari 2021-02-11 15:25:42 -05:00
parent efe7a17406
commit 0d8d499036
No known key found for this signature in database
GPG key ID: 2646FA30BACA7F08

View file

@ -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")