summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2024-11-21 20:10:47 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2024-11-22 16:44:02 +0100
commitde3f663d823f9c185514af69296d011e22161479 (patch)
treee38c4022851a995f1c1240b2a142e5f882f06cc7 /test/integration/framework
parentd2e34a441bad904798bf62fb850d4fb5b1b90656 (diff)
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.
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework3
1 files changed, 3 insertions, 0 deletions
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