diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-10-31 13:49:16 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-10-31 16:54:45 +0100 |
commit | d8805b95f5ab563f0b8baf320f1200ca51667793 (patch) | |
tree | 525e3fbf22bc1fe563f42167278c0d2bdda9597d | |
parent | c268a0d4a6f8656828a34252dc825c312f6e518e (diff) | |
download | guix-d8805b95f5ab563f0b8baf320f1200ca51667793.tar.gz |
build: Unset 'CDPATH' in 'test-env'.
Reported by Mathieu Lirzin. * test-env.in: Unset 'CDPATH'.
-rw-r--r-- | test-env.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-env.in b/test-env.in index 792830c29b..39b205dc8a 100644 --- a/test-env.in +++ b/test-env.in @@ -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 |