Source: ufw
Version: 0.36-7
Tags: patch

Dear maintainer,

Your package has an autopkgtest, great. However, the test-ufw.py doesn't
do anything on non-amd64. Please annotate the test with the (new)
Architecture field to prevent the test marking success when it didn't
test anything.

Patch attached.

Paul

From 57f74d5f418d882ec975ebf6e3f4055fe9283352 Mon Sep 17 00:00:00 2001
From: Paul Gevers <elb...@debian.org>
Date: Thu, 26 Nov 2020 13:54:40 +0100
Subject: [PATCH] tests: add Architecture:amd64 to test-ufw.py test as it
 doesn't do anything elsewhere

---
 debian/tests/control | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/tests/control b/debian/tests/control
index cdce30d..a76bc4a 100644
--- a/debian/tests/control
+++ b/debian/tests/control
@@ -10,6 +10,7 @@ Restrictions: needs-root, allow-stderr, isolation-machine
 # verify the arch) since isolation-container appears to work there. If this
 # results in a flaky test, we might need to remove this and wait for
 # isolation-machine to become available
+Architecture: amd64
 Test-Command: python3 debian/tests/test-ufw.py --container
 Restrictions: needs-root, allow-stderr, isolation-container
 
-- 
2.29.2

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to