mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-26 15:56:18 +02:00
Improve tests slightly
This commit is contained in:
parent
d80fc2ac1b
commit
0193c2abcd
1 changed files with 4 additions and 1 deletions
|
@ -63,12 +63,15 @@ expect 1 nix-store --verify-path --store "$storeB" "$path"
|
|||
|
||||
### Do a redundant add
|
||||
|
||||
# upper layer should not have it
|
||||
expect 1 stat $(toRealPath "$storeBTop/nix/store" "$path")
|
||||
|
||||
path=$(nix-store --store "$storeB" --add dummy)
|
||||
|
||||
# lower store should have it from before
|
||||
stat $(toRealPath "$storeA/nix/store" "$path")
|
||||
|
||||
# upper store should not have redundant copy
|
||||
# upper layer should still not have it (no redundant copy)
|
||||
# FIXME should fail
|
||||
stat $(toRealPath "$storeA/nix/store" "$path")
|
||||
|
||||
|
|
Loading…
Reference in a new issue