about summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-02-23T11·12+0100
committerGitHub <noreply@github.com>2019-02-23T11·12+0100
commit6bfb082ea298ac4366d4808f3a1b7c065cf89302 (patch)
treec716407494479f463f7c7e67d2dc86d699e2af60 /tests
parente58a71442ad4a538b48fc7a9938c3690628c4741 (diff)
parentb402148d8f584144b80fe159e76e553a1792ecb7 (diff)
Merge pull request #2694 from zimbatm/no-store-init
remove noop uses of nix-store --init
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