Skip to content

Commit

Permalink
tests: Use cp -ar instead of tar-untar pipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericson2314 committed Dec 11, 2023
1 parent 4a2cee8 commit eae2717
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/local-overlay-store/verify-inner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ nix-store --store "$storeB" --verify --check-contents
# Make a backup so we can repair later
backupStore="$storeVolume/backup"
mkdir "$backupStore"
tar -cC "$storeBRoot" nix | tar -xC "$backupStore"
cp -ar "$storeBRoot/nix" "$backupStore"


## Deliberately corrupt store paths
Expand Down

0 comments on commit eae2717

Please sign in to comment.