Skip to content

Commit

Permalink
Send GPG output to dev/null
Browse files Browse the repository at this point in the history
Signed-off-by: Stewart X Addison <sxa@redhat.com>
  • Loading branch information
sxa committed Feb 19, 2024
1 parent c182e71 commit 82ebe62
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tooling/release_download_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ verify_gpg_signatures() {
for A in OpenJDK*.tar.gz OpenJDK*.zip *.msi *.pkg *sbom*[0-9].json; do
print_verbose "IVT : Verifying signature of file ${A}"

if ! gpg -q --verify "${A}.sig" "${A}"; then
if ! gpg -q --verify "${A}.sig" "${A}" > /dev/null; then
print_error "GPG signature verification failed for ${A}"
RC=2
fi
Expand All @@ -227,7 +227,6 @@ verify_valid_archives() {

for A in OpenJDK*.tar.gz; do
print_verbose "IVT : Counting files in tarball ${A}"
ls -l "${A}"
if ! tar tfz "${A}" > /dev/null; then
print_error "Failed to verify that ${A} can be extracted"
RC=4
Expand Down

0 comments on commit 82ebe62

Please sign in to comment.