mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
Fix test a bit from previous commit
This commit is contained in:
parent
6bb13358e6
commit
c93f78f6fa
@ -18,9 +18,10 @@ mountOverlayfs
|
|||||||
|
|
||||||
### Do a redundant add
|
### Do a redundant add
|
||||||
|
|
||||||
# upper layer should not have it
|
# (Already done in `initLowerStore`, but repeated here for clarity.)
|
||||||
path=$(nix-store --store "$storeA" ../dummy)
|
path=$(nix-store --store "$storeA" --add ../dummy)
|
||||||
|
|
||||||
|
# upper layer should not have it
|
||||||
expect 1 stat $(toRealPath "$storeBTop/nix/store" "$path")
|
expect 1 stat $(toRealPath "$storeBTop/nix/store" "$path")
|
||||||
|
|
||||||
pathFromB=$(nix-store --store "$storeB" --add ../dummy)
|
pathFromB=$(nix-store --store "$storeB" --add ../dummy)
|
||||||
|
Loading…
Reference in New Issue
Block a user