From 0d8d499036f632e03f63bdaf36b02861ea52b3e6 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 11 Feb 2021 15:25:42 -0500 Subject: 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 . * tests/store.scm (%shell): Fallback to "/bin/sh". --- tests/store.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 @@ (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") -- cgit v1.2.3