Subject: bug#46445: closed (Re: bug#46445: [PATCH] tests: Make the STORE test more robust in a "pure" environment.)

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 18 Mar 2021 19:17:02 +0000

Your bug report

#46445: [PATCH] tests: Make the STORE test more robust in a "pure" environment.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46445: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46445
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#46445: [PATCH] tests: Make the STORE test more robust in a "pure" environment.
From: Leo Famulari <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked]
Date: Thu, 18 Mar 2021 15:16:43 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, Mar 17, 2021 at 10:36:16PM +0100, Ludovic Courtès wrote:
> LGTM, thanks!

Thanks for your review! Pushed as
0d8d499036f632e03f63bdaf36b02861ea52b3e6

Subject: [PATCH] tests: Make the STORE test more robust in a "pure" environment.
From: Leo Famulari <[email-masked]>
To: [email-masked]
Date: Thu, 11 Feb 2021 15:25:42 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

Otherwise, the test crashes (not fails) when run in `guix environment --pure guix`.

I'm not sure this is the right approach, when I look at commit
3d43017026f9995ad128915db8ca5eafe061bf75, which added this variable.

* tests/store.scm (%shell): Fallback to "/bin/sh".
---
 tests/store.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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