about summary refs log tree commit diff
path: root/tests/common.sh.in
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-03-04T10·27+0800
committerEelco Dolstra <edolstra@gmail.com>2019-03-04T10·27+0800
commitb71e1fb342b2344b738733698b20c5ec03dabe5a (patch)
treee796e3ec4fbb67a789825a377b74dfda69a23f10 /tests/common.sh.in
parent4cfc131ec43ccbfa2f87efc3e96bdbe127ab3b1b (diff)
Restore --init calls in tests
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 28d0e8bfd5fc..6a523ca9d832 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -53,6 +53,7 @@ clearStore() {
     mkdir "$NIX_STORE_DIR"
     rm -rf "$NIX_STATE_DIR"
     mkdir "$NIX_STATE_DIR"
+    nix-store --init
     clearProfiles
 }