From de3f663d823f9c185514af69296d011e22161479 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Thu, 21 Nov 2024 20:10:47 +0100 Subject: test: Accept empty output from gpgv/apt-key Our internal code always generates ENODATA for empty output and this is checked by the previous commit, so this is entirely safe. --- test/integration/framework | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/integration/framework') diff --git a/test/integration/framework b/test/integration/framework index 10cae70a5..ad87d17c7 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -2029,6 +2029,9 @@ testfailure() { BAD signature from signature could not be verified" "$OUTPUT"; then msgpass + elif [ -e "$OUTPUT" -a ! -s "$OUTPUT" ]; then + msgwarn "apt-key failed without output, this is normal for gpgv-sq (see sequoia-chameleon-gnupg#88)" + msgpass else msgfailoutput "run failed with exitcode ${EXITCODE}, but no signature error" "$OUTPUT" "$@" fi -- cgit v1.2.3-70-g09d2