local-overlay store tests: storeDirs -> setupStoreDirs

Co-Authored-By: Théophane Hufschmitt <theophane.hufschmitt@tweag.io>
This commit is contained in:
John Ericson 2023-12-11 13:30:40 -05:00
parent b21ee60594
commit bf0bf3d1be
12 changed files with 13 additions and 13 deletions

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -2,7 +2,7 @@ source common.sh
requireEnvironment
setupConfig
storeDirs
setupStoreDirs
mkdir -p $TEST_ROOT/bad_test
badTestRoot=$TEST_ROOT/bad_test
@ -18,7 +18,7 @@ for i in "${storesBad[@]}"; do
echo $i
unshare --mount --map-root-user bash <<EOF
source common.sh
storeDirs
setupStoreDirs
mountOverlayfs
expectStderr 1 nix doctor --store "$i" | grepQuiet "overlay filesystem .* mounted incorrectly"
EOF

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -18,7 +18,7 @@ setupConfig () {
enableFeatures "local-overlay-store"
storeDirs () {
setupStoreDirs () {
# Attempt to create store dirs on tmpfs volume.
# This ensures lowerdir, upperdir and workdir will be on
# a consistent filesystem that fully supports OverlayFS.

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -8,7 +8,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -8,7 +8,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore

View File

@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR
storeDirs
setupStoreDirs
initLowerStore