about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorzimbatm <zimbatm@zimbatm.com>2019-02-22T20·07+0100
committerzimbatm <zimbatm@zimbatm.com>2019-02-22T20·07+0100
commitb402148d8f584144b80fe159e76e553a1792ecb7 (patch)
treec716407494479f463f7c7e67d2dc86d699e2af60 /tests
parente58a71442ad4a538b48fc7a9938c3690628c4741 (diff)
remove noop uses of nix-store --init
the nix-store --init command is a noop apparently
Diffstat (limited to 'tests')
-rw-r--r--tests/common.sh.in1
-rw-r--r--tests/init.sh3
2 files changed, 0 insertions, 4 deletions
diff --git a/tests/common.sh.in b/tests/common.sh.in
index 6a523ca9d832..28d0e8bfd5fc 100644
--- a/tests/common.sh.in
+++ b/tests/common.sh.in
@@ -53,7 +53,6 @@ clearStore() {
     mkdir "$NIX_STORE_DIR"
     rm -rf "$NIX_STATE_DIR"
     mkdir "$NIX_STATE_DIR"
-    nix-store --init
     clearProfiles
 }
 
diff --git a/tests/init.sh b/tests/init.sh
index 19a12c1e2d9e..6fa4f815bfe5 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -25,9 +25,6 @@ fsync-metadata = false
 !include nix.conf.extra.not-there
 EOF
 
-# Initialise the database.
-nix-store --init
-
 # Did anything happen?
 test -e "$NIX_STATE_DIR"/db/db.sqlite