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 mountOverlayfs
# Add to overlay before lower to ensure file is duplicated # Add to overlay before lower to ensure file is duplicated
upperPath=$(nix-store --store "$storeB" --add delete.sh) upperPath=$(nix-store --store "$storeB" --add delete-duplicate.sh)
lowerPath=$(nix-store --store "$storeA" --add delete.sh) lowerPath=$(nix-store --store "$storeA" --add delete-duplicate.sh)
[[ "$upperPath" = "$lowerPath" ]] [[ "$upperPath" = "$lowerPath" ]]
# Check there really are two files with different inodes # Check there really are two files with different inodes

View file

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

View file

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