From e062fe3c44af2a4209568f0f2ba937f20a494b34 Mon Sep 17 00:00:00 2001 From: Achilleas Koutsou Date: Thu, 22 Jul 2021 13:14:45 +0200 Subject: [PATCH] test/api.sh: suppress shellcheck for sudo redirect --- test/cases/api.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/cases/api.sh b/test/cases/api.sh index 7ccc9524f..c15e4d011 100755 --- a/test/cases/api.sh +++ b/test/cases/api.sh @@ -637,6 +637,8 @@ test $((INIT_COMPOSES+1)) = "$SUBS_COMPOSES" # Save the Manifest from the osbuild-composer store # NOTE: The rest of the job data can contain sensitive information # +# Suppressing shellcheck. See https://github.com/koalaman/shellcheck/wiki/SC2024#exceptions +# shellcheck disable=SC2024 sudo jq -rM .args.manifest /var/lib/osbuild-composer/jobs/"${COMPOSE_ID}".json > "${ARTIFACTS}/manifest.json" #