mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 14:06:16 +02:00
housekeeping: shellcheck for tests/functional/ca/nix-copy.sh
This commit is contained in:
parent
195c0da849
commit
deacc421eb
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue