From 3b81b2645706d7f8d9c0ec228426dee8ef1fc7ac Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 24 Mar 2016 14:38:31 +0100 Subject: Use shorter daemon socket path in tests Otherwise we hit the 104 character limit. http://hydra.nixos.org/build/33562028 --- tests/common.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/common.sh.in') diff --git a/tests/common.sh.in b/tests/common.sh.in index eb9798a27b45..50d2c77b74df 100644 --- a/tests/common.sh.in +++ b/tests/common.sh.in @@ -2,7 +2,7 @@ set -e datadir="@datadir@" -export TEST_ROOT=$(pwd)/test-tmp +export TEST_ROOT=${TMPDIR:-/tmp}/nix-test export NIX_STORE_DIR if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store 2> /dev/null); then # Maybe the build directory is symlinked. -- cgit 1.4.1