From a3603aa01b909c88c471b402f14a8ea5cdf6243b Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Fri, 20 Oct 2017 23:37:36 +0200 Subject: Fix testsuite for and add new fields from dpkg 1.19 tagfile-order.c: Add missing fields from dpkg 1.19 For binary packages, this is Build-Essential; for source packages, it is Description. test-bug-718329-...: Ignore control.tar.*, changes in dpkg 1.19 test-apt-extracttemplates: Fix for dpkg 1.19 (cherry picked from commit 404dececf913d3c09368a73ca00aa8172dbf6865) --- test/integration/test-bug-718329-support-data.tar-uncompressed | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'test/integration/test-bug-718329-support-data.tar-uncompressed') diff --git a/test/integration/test-bug-718329-support-data.tar-uncompressed b/test/integration/test-bug-718329-support-data.tar-uncompressed index b1aa419a7..931802530 100755 --- a/test/integration/test-bug-718329-support-data.tar-uncompressed +++ b/test/integration/test-bug-718329-support-data.tar-uncompressed @@ -1,6 +1,10 @@ #!/bin/sh set -e +art() { + ar t "$@" | grep -v control.tar +} + test_process_package_with_compression() { COMPRESSOR="$1" DATA_TAR="$2" @@ -9,8 +13,7 @@ test_process_package_with_compression() { buildsimplenativepackage 'pkg' 'all' '1.0' '' '' 'some descr' '' '' '' "$COMPRESSOR" testsuccessequal "debian-binary -control.tar.gz -$DATA_TAR" ar t incoming/pkg_1.0_all.deb +$DATA_TAR" art incoming/pkg_1.0_all.deb testequal "Package: pkg" echo "$(aptftparchive packages incoming/|grep ^Package)" -- cgit v1.2.3