build: Get the canonical $HOME name when testing 'guix package'.

* tests/guix-package.sh (HOME): Recompute using 'pwd -P'.
This commit is contained in:
Ludovic Courtès 2014-07-06 21:26:11 +02:00
parent 6171070bec
commit 59c51be290

View File

@ -194,6 +194,9 @@ export HOME
mkdir -p "$HOME"
# Get the canonical directory name so that 'guix package' recognizes it.
HOME="`cd $HOME; pwd -P`"
guix package --bootstrap -i guile-bootstrap
test -L "$HOME/.guix-profile"
test -f "$HOME/.guix-profile/bin/guile"