aboutsummaryrefslogtreecommitdiff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24 14:38:31 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-03-24 14:45:55 +0100
commit3b81b2645706d7f8d9c0ec228426dee8ef1fc7ac (patch)
tree38538081e9a7d0db61b401b8765290c396bfe0f0 /tests/common.sh.in
parent374198ad6d8747c135ce8d8a8284723b0968aeef (diff)
Use shorter daemon socket path in tests
Otherwise we hit the 104 character limit. http://hydra.nixos.org/build/33562028
Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index eb9798a27..50d2c77b7 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.