about summary refs log tree commit diff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2006-03-10T22·27+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2006-03-10T22·27+0000
commitfdea084c365083a65eb363973400416107b5e32b (patch)
tree82584bb341b821205fd73122276ae38dd9320f2f /tests/common.sh.in
parent37d1b1cafd17a18dc7dbef3b4ba7fb204158d58b (diff)
* Allow `make check' to work in directories that have symlink
  components.

Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 9766642b0011..0f55d6cf896e 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -1,5 +1,8 @@
 set -e
 
+# Maybe the build directory is symlinked.
+export NIX_IGNORE_SYMLINK_STORE=1
+
 export TEST_ROOT=$(pwd)/test-tmp
 export NIX_STORE_DIR=$TEST_ROOT/store
 export NIX_DATA_DIR=$TEST_ROOT/data