~ruther/guix-local

59c51be2900b896d87b2393faecfef732d015e34 — Ludovic Courtès 11 years ago 6171070
build: Get the canonical $HOME name when testing 'guix package'.

* tests/guix-package.sh (HOME): Recompute using 'pwd -P'.
1 files changed, 3 insertions(+), 0 deletions(-)

M tests/guix-package.sh
M tests/guix-package.sh => tests/guix-package.sh +3 -0
@@ 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"