about summary refs log tree commit diff
path: root/tests/user-envs.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2016-07-27T15·14+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2016-08-10T16·05+0200
commit2fad86f361d5f6a4896a0364e313f61384945111 (patch)
treec3f119f5260845e5bae15db6c32090521ff3e719 /tests/user-envs.sh
parentbe64fbb50129356a03d8b7fe08d3ef3809a4a82a (diff)
Remove $NIX_DB_DIR
This variable has no reason to exist, given $NIX_STATE_DIR.
Diffstat (limited to 'tests/user-envs.sh')
-rw-r--r--tests/user-envs.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/user-envs.sh b/tests/user-envs.sh
index 526c1267cefe..c4192fdc59b2 100644
--- a/tests/user-envs.sh
+++ b/tests/user-envs.sh
@@ -1,6 +1,9 @@
 source common.sh
 
-clearStore
+if [ -z "$storeCleared" ]; then
+    clearStore
+fi
+
 clearProfiles
 
 # Query installed: should be empty.