From: Leo Famulari <leo@famulari.name>
To: 46445@debbugs.gnu.org
Subject: [bug#46445] [PATCH] tests: Make the STORE test more robust in a "pure" environment.
Date: Thu, 11 Feb 2021 15:25:42 -0500 [thread overview]
Message-ID: <2cd34bbd26f480faeb89f38af590d10339303f8f.1613075074.git.leo@famulari.name> (raw)
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"))
\f
(test-begin "store")
--
2.30.0
next reply other threads:[~2021-02-11 20:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-11 20:25 Leo Famulari [this message]
2021-02-25 20:13 ` [bug#46445] [PATCH] tests: Make the STORE test more robust in a "pure" environment Leo Famulari
2021-03-17 21:36 ` Ludovic Courtès
2021-03-18 19:16 ` bug#46445: " Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2cd34bbd26f480faeb89f38af590d10339303f8f.1613075074.git.leo@famulari.name \
--to=leo@famulari.name \
--cc=46445@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.