mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 08:12:29 +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"
|
rm -rf "$REMOTE_STORE_DIR"
|
||||||
|
|
||||||
attrPath="$1"
|
attrPath="$1"
|
||||||
nix copy --to $REMOTE_STORE "$attrPath" --file ./content-addressed.nix
|
nix copy --to "$REMOTE_STORE" "$attrPath" --file ./content-addressed.nix
|
||||||
|
|
||||||
ensureCorrectlyCopied "$attrPath"
|
ensureCorrectlyCopied "$attrPath"
|
||||||
|
|
||||||
# Ensure that we can copy back what we put in the store
|
# Ensure that we can copy back what we put in the store
|
||||||
clearStore
|
clearStore
|
||||||
nix copy --from $REMOTE_STORE \
|
nix copy --from "$REMOTE_STORE" \
|
||||||
--file ./content-addressed.nix "$attrPath" \
|
--file ./content-addressed.nix "$attrPath" \
|
||||||
--no-check-sigs
|
--no-check-sigs
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user