Skip to content

Commit

Permalink
local-overlay store tests: storeDirs -> setupStoreDirs
Browse files Browse the repository at this point in the history
Co-Authored-By: Théophane Hufschmitt <theophane.hufschmitt@tweag.io>
  • Loading branch information
Ericson2314 and Théophane Hufschmitt committed Dec 11, 2023
1 parent b21ee60 commit bf0bf3d
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/add-lower-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
4 changes: 2 additions & 2 deletions tests/functional/local-overlay-store/bad-uris.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ source common.sh

requireEnvironment
setupConfig
storeDirs
setupStoreDirs

mkdir -p $TEST_ROOT/bad_test
badTestRoot=$TEST_ROOT/bad_test
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/build-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/delete-refs-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/gc-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/optimise-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/verify-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ source common.sh
unset NIX_STORE_DIR
unset NIX_STATE_DIR

storeDirs
setupStoreDirs

initLowerStore

Expand Down

0 comments on commit bf0bf3d

Please sign in to comment.