diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2015-11-02 23:42:31 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2015-11-02 23:42:31 +0100 |
| commit | b485f756e92fdfef45c28eed4c21f895e1acd47b (patch) | |
| tree | 9786ab0cadfbf2029b09d45ba5e8753e4ed42bb6 /tests/guix-environment.sh | |
| parent | a70436183aeb6a861cc43e297b5a33b777dfe1b3 (diff) | |
tests: Set 'SHELL' for 'guix environment'.
* tests/guix-environment.sh: Export 'SHELL'.
Diffstat (limited to 'tests/guix-environment.sh')
| -rw-r--r-- | tests/guix-environment.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/guix-environment.sh b/tests/guix-environment.sh index f7b0259e1b0..aed27c103c2 100644 --- a/tests/guix-environment.sh +++ b/tests/guix-environment.sh | |||
| @@ -29,6 +29,10 @@ trap 'rm -r "$tmpdir"' EXIT | |||
| 29 | 29 | ||
| 30 | mkdir "$tmpdir" | 30 | mkdir "$tmpdir" |
| 31 | 31 | ||
| 32 | # 'guix environment' launches /bin/sh if 'SHELL' is unset, so export 'SHELL' | ||
| 33 | # since we know it's valid (build environments lack /bin/sh.) | ||
| 34 | export SHELL | ||
| 35 | |||
| 32 | # Check the environment variables for the bootstrap Guile. | 36 | # Check the environment variables for the bootstrap Guile. |
| 33 | guix environment --ad-hoc guile-bootstrap --pure --search-paths > "$tmpdir/a" | 37 | guix environment --ad-hoc guile-bootstrap --pure --search-paths > "$tmpdir/a" |
| 34 | guix environment --ad-hoc guile-bootstrap:out --pure --search-paths > "$tmpdir/b" | 38 | guix environment --ad-hoc guile-bootstrap:out --pure --search-paths > "$tmpdir/b" |
