build: Unset 'CDPATH' in 'test-env'.
Reported by Mathieu Lirzin. * test-env.in: Unset 'CDPATH'.master
parent
c268a0d4a6
commit
d8805b95f5
|
@ -24,6 +24,11 @@
|
||||||
# `pre-inst-env'. This is used to run unit tests with the just-built
|
# `pre-inst-env'. This is used to run unit tests with the just-built
|
||||||
# daemon, unless `--disable-daemon' was passed at configure time.
|
# 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" ]
|
if [ -x "@abs_top_builddir@/guix-daemon" ]
|
||||||
then
|
then
|
||||||
NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
|
NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
|
||||||
|
|
Reference in New Issue