mirror of
https://github.com/NixOS/nix.git
synced 2024-11-21 22:32:26 +00:00
housekeeping: shellcheck for tests/functional/ca/nix-copy.sh
This commit is contained in:
parent
195c0da849
commit
deacc421eb
@ -15,13 +15,13 @@ testOneCopy () {
|
||||
rm -rf "$REMOTE_STORE_DIR"
|
||||
|
||||
attrPath="$1"
|
||||
nix copy --to $REMOTE_STORE "$attrPath" --file ./content-addressed.nix
|
||||
nix copy --to "$REMOTE_STORE" "$attrPath" --file ./content-addressed.nix
|
||||
|
||||
ensureCorrectlyCopied "$attrPath"
|
||||
|
||||
# Ensure that we can copy back what we put in the store
|
||||
clearStore
|
||||
nix copy --from $REMOTE_STORE \
|
||||
nix copy --from "$REMOTE_STORE" \
|
||||
--file ./content-addressed.nix "$attrPath" \
|
||||
--no-check-sigs
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user