From c93f78f6fabdc4f01d3af98c68c4225be9d2c546 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Mon, 11 Dec 2023 13:36:53 -0500 Subject: [PATCH] Fix test a bit from previous commit --- tests/functional/local-overlay-store/redundant-add-inner.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/functional/local-overlay-store/redundant-add-inner.sh b/tests/functional/local-overlay-store/redundant-add-inner.sh index 0fb3af2a6..d2c95b187 100755 --- a/tests/functional/local-overlay-store/redundant-add-inner.sh +++ b/tests/functional/local-overlay-store/redundant-add-inner.sh @@ -18,9 +18,10 @@ mountOverlayfs ### Do a redundant add -# upper layer should not have it -path=$(nix-store --store "$storeA" ../dummy) +# (Already done in `initLowerStore`, but repeated here for clarity.) +path=$(nix-store --store "$storeA" --add ../dummy) +# upper layer should not have it expect 1 stat $(toRealPath "$storeBTop/nix/store" "$path") pathFromB=$(nix-store --store "$storeB" --add ../dummy)