mirror of
https://github.com/NixOS/nix.git
synced 2025-11-08 19:46:02 +01:00
tests/func*/ca/build-with-garbage-path: Fix shellcheck
This commit is contained in:
parent
8b97d14c08
commit
8c31e07cce
2 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,6 @@
|
|||
# We haven't linted these files yet
|
||||
''^scripts/install-multi-user\.sh$''
|
||||
''^scripts/install-systemd-multi-user\.sh$''
|
||||
''^tests/functional/ca/build-with-garbage-path\.sh$''
|
||||
''^tests/functional/ca/common\.sh$''
|
||||
''^tests/functional/ca/concurrent-builds\.sh$''
|
||||
''^tests/functional/characterisation-test-infra\.sh$''
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ requireDaemonNewerThan "2.4pre20210621"
|
|||
|
||||
# Get the output path of `rootCA`, and put some garbage instead
|
||||
outPath="$(nix-build ./content-addressed.nix -A rootCA --no-out-link)"
|
||||
# shellcheck disable=SC2046 # Multiple store paths need to become individual args
|
||||
nix-store --delete $(nix-store -q --referrers-closure "$outPath")
|
||||
touch "$outPath"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue