1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00

Rename test to delete-duplicate.

This commit is contained in:
Ben Radford 2023-07-26 14:29:36 +01:00 committed by Ben Radford
parent ed14286924
commit 6da05c0a11
3 changed files with 4 additions and 4 deletions

View file

@ -17,8 +17,8 @@ initLowerStore
mountOverlayfs
# Add to overlay before lower to ensure file is duplicated
upperPath=$(nix-store --store "$storeB" --add delete.sh)
lowerPath=$(nix-store --store "$storeA" --add delete.sh)
upperPath=$(nix-store --store "$storeB" --add delete-duplicate.sh)
lowerPath=$(nix-store --store "$storeA" --add delete-duplicate.sh)
[[ "$upperPath" = "$lowerPath" ]]
# Check there really are two files with different inodes

View file

@ -2,4 +2,4 @@ source common.sh
requireEnvironment
setupConfig
execUnshare ./delete-inner.sh
execUnshare ./delete-duplicate-inner.sh

View file

@ -7,6 +7,6 @@ overlay-local-store-tests := \
$(d)/gc.sh \
$(d)/verify.sh \
$(d)/optimise.sh \
$(d)/delete.sh
$(d)/delete-duplicate.sh
install-tests-groups += overlay-local-store