about summary refs log tree commit diff
path: root/tests/init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-01T17·50+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-01T17·50+0000
commitc3981d81f65eda945f7a48d10ce7600fc0419f58 (patch)
treeae87c0de57dca4016df927787de3ed342e083337 /tests/init.sh
parent65b6c8ab4c7832abdad46a29ce2ef18d289b2471 (diff)
* Make check fixes.
Diffstat (limited to 'tests/init.sh')
-rw-r--r--tests/init.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/init.sh b/tests/init.sh
index 63cce81bd79d..2ad3c18a7eb0 100644
--- a/tests/init.sh
+++ b/tests/init.sh
@@ -9,7 +9,8 @@ mkdir "$TEST_ROOT"
 
 mkdir "$NIX_STORE_DIR"
 mkdir "$NIX_DATA_DIR"
-mkdir "$NIX_LOG_DIR"
+mkdir "$NIX_LOCALSTATE_DIR"
+mkdir -p "$NIX_LOG_DIR"
 mkdir "$NIX_STATE_DIR"
 mkdir "$NIX_DB_DIR"
 
@@ -23,10 +24,9 @@ mkdir $NIX_BIN_DIR/nix
 ln -s $TOP/scripts/download-using-manifests.pl $NIX_BIN_DIR/nix/
 ln -s $TOP/scripts/readmanifest.pm $NIX_BIN_DIR/nix/
 
-mkdir -p "$NIX_LOCALSTATE_DIR"/nix/manifests
-mkdir -p "$NIX_LOCALSTATE_DIR"/nix/gcroots
-mkdir -p "$NIX_LOCALSTATE_DIR"/log/nix
-mkdir -p "$NIX_LOCALSTATE_DIR"/temproots
+mkdir -p "$NIX_STATE_DIR"/manifests
+mkdir -p "$NIX_STATE_DIR"/gcroots
+mkdir -p "$NIX_STATE_DIR"/temproots
 
 mkdir $NIX_DATA_DIR/nix
 cp -prd $TOP/corepkgs $NIX_DATA_DIR/nix/