HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a704361
)
tests: Set 'SHELL' for 'guix environment'.
author
Ludovic Courtès
<ludo@gnu.org>
Mon, 2 Nov 2015 22:42:31 +0000
(23:42 +0100)
committer
Ludovic Courtès
<ludo@gnu.org>
Mon, 2 Nov 2015 22:42:31 +0000
(23:42 +0100)
* tests/guix-environment.sh: Export 'SHELL'.
tests/guix-environment.sh
patch
|
blob
|
blame
|
history
diff --git
a/tests/guix-environment.sh
b/tests/guix-environment.sh
index
f7b0259
..
aed27c1
100644
(file)
--- a/
tests/guix-environment.sh
+++ b/
tests/guix-environment.sh
@@
-29,6
+29,10
@@
trap 'rm -r "$tmpdir"' EXIT
mkdir "$tmpdir"
+# 'guix environment' launches /bin/sh if 'SHELL' is unset, so export 'SHELL'
+# since we know it's valid (build environments lack /bin/sh.)
+export SHELL
+
# Check the environment variables for the bootstrap Guile.
guix environment --ad-hoc guile-bootstrap --pure --search-paths > "$tmpdir/a"
guix environment --ad-hoc guile-bootstrap:out --pure --search-paths > "$tmpdir/b"