about summary refs log tree commit diff
path: root/tests/dump-db.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/dump-db.sh')
-rw-r--r--tests/dump-db.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/dump-db.sh b/tests/dump-db.sh
index 234b7ac02680..57c8c401600d 100644
--- a/tests/dump-db.sh
+++ b/tests/dump-db.sh
@@ -9,6 +9,7 @@ deps="$(nix-store -qR $TEST_ROOT/result)"
 nix-store --dump-db > $TEST_ROOT/dump
 
 rm -rf $NIX_DB_DIR
+mkdir $NIX_DB_DIR
 
 nix-store --load-db < $TEST_ROOT/dump