about summary refs log tree commit diff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorBas van Dijk <v.dijk.bas@gmail.com>2019-07-30T09·29+0200
committerBas van Dijk <v.dijk.bas@gmail.com>2019-07-30T09·29+0200
commitee1e3132cab9d7de14837f2b04b115e544ae1622 (patch)
treec96c194eed8746d93b939c3953185391976c8c9c /tests/common.sh.in
parent41a52466854ab3a7d4adedc3777c0b0585ef79fe (diff)
Disable findRuntimeRoots on darwin when running tests because lsof is slow
See: https://github.com/NixOS/nix/issues/3011
Diffstat (limited to 'tests/common.sh.in')
-rw-r--r--tests/common.sh.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 6a523ca9d832..15d7b1ef9119 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -16,6 +16,7 @@ if [[ -n $NIX_STORE ]]; then
     export _NIX_TEST_NO_SANDBOX=1
 fi
 export _NIX_IN_TEST=$TEST_ROOT/shared
+export _NIX_TEST_NO_LSOF=1
 export NIX_REMOTE=$NIX_REMOTE_
 unset NIX_PATH
 export TEST_HOME=$TEST_ROOT/test-home