From d8a13f5dfa0823539b650d2024dc0671fcac1d13 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Mon, 3 Jan 2022 11:54:01 +0100 Subject: Silence ar by warping it in a testsuccess call MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The -q flag isn't quiet – it means quick – so ar happily prints an "ar: creating test.deb" which is harmless, but also pointless and it is the only testcase who produces output. Gbp-Dch: Ignore --- test/integration/test-github-111-invalid-armember | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/test-github-111-invalid-armember b/test/integration/test-github-111-invalid-armember index e4b897ec3..2340321ce 100755 --- a/test/integration/test-github-111-invalid-armember +++ b/test/integration/test-github-111-invalid-armember @@ -9,13 +9,13 @@ setupaptarchive # this used to crash, but it should treat it as an invalid member header touch ' ' -ar -q test.deb ' ' +testsuccess ar -q test.deb ' ' testsuccessequal "E: Invalid archive member header" ${APTTESTHELPERSBINDIR}/testdeb test.deb rm test.deb touch 'x' -ar -q test.deb 'x' +testsuccess ar -q test.deb 'x' testsuccessequal "E: This is not a valid DEB archive, missing 'debian-binary' member" ${APTTESTHELPERSBINDIR}/testdeb test.deb @@ -30,5 +30,5 @@ gzip control.tar cp control.tar.gz data.tar.gz touch debian-binary rm test.deb -ar -q test.deb debian-binary control.tar.gz data.tar.gz +testsuccess ar -q test.deb debian-binary control.tar.gz data.tar.gz testsuccessequal "W: Unknown TAR header type 88" ${APTTESTHELPERSBINDIR}/testdeb test.deb -- cgit v1.2.3-70-g09d2