mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Set 'SHELL' for 'guix environment'.
* tests/guix-environment.sh: Export 'SHELL'.
This commit is contained in:
parent
a70436183a
commit
b485f756e9
1 changed files with 4 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue