mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
Fix test a bit from previous commit
This commit is contained in:
parent
6bb13358e6
commit
c93f78f6fa
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue