From 5c793ad03e08f8f795397af1d49034ac6f616ade Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 14 Aug 2007 13:43:51 +0000 Subject: * Hopefully this fixes the test on FreeBSD. --- 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 4228811ff9..dde95dd13c 100644 --- a/tests/common.sh.in +++ b/tests/common.sh.in @@ -2,7 +2,7 @@ set -e export TEST_ROOT=$(pwd)/test-tmp export NIX_STORE_DIR -if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store); then +if ! NIX_STORE_DIR=$(readlink -f $TEST_ROOT/store 2> /dev/null); then # Maybe the build directory is symlinked. export NIX_IGNORE_SYMLINK_STORE=1 NIX_STORE_DIR=$TEST_ROOT/store -- cgit 1.4.1