From d8805b95f5ab563f0b8baf320f1200ca51667793 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Fri, 31 Oct 2014 13:49:16 +0100 Subject: build: Unset 'CDPATH' in 'test-env'. Reported by Mathieu Lirzin. * test-env.in: Unset 'CDPATH'. --- test-env.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test-env.in') 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 -- cgit 1.4.1