me
/
guix
Archived
1
0
Fork 0

build: Unset 'CDPATH' in 'test-env'.

Reported by Mathieu Lirzin.

* test-env.in: Unset 'CDPATH'.
master
Ludovic Courtès 2014-10-31 13:49:16 +01:00
parent c268a0d4a6
commit d8805b95f5
1 changed files with 5 additions and 0 deletions

View File

@ -24,6 +24,11 @@
# `pre-inst-env'. This is used to run unit tests with the just-built
# daemon, unless `--disable-daemon' was passed at configure time.
# Make sure 'cd' behaves deterministically and doesn't write anything to
# stdout.
unset CDPATH
if [ -x "@abs_top_builddir@/guix-daemon" ]
then
NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused