From: David Kalnischkies Date: Thu, 8 May 2014 16:52:51 +0000 (+0200) Subject: make test independent from the actual Install-Size X-Git-Tag: 1.1.exp1~19^2~15 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/2a64259c7305f55f0014f399b9bd0e62b469c32b?ds=sidebyside;hp=c7cea1068fc639e65578dd8e0ad9478bb419cc0f make test independent from the actual Install-Size Git-Dch: Ignore --- diff --git a/test/integration/test-apt-ftparchive-cachedb b/test/integration/test-apt-ftparchive-cachedb index 147272a2c..0e1986bcd 100755 --- a/test/integration/test-apt-ftparchive-cachedb +++ b/test/integration/test-apt-ftparchive-cachedb @@ -5,7 +5,7 @@ ensure_correct_packages_file() { testequal "Package: foo Priority: optional Section: others -Installed-Size: 29 +$(dpkg-deb -I ./aptarchive/pool/main/foo_1_i386.deb | grep 'Installed-Size:' | sed 's#^ ##') Maintainer: Joe Sixpack Architecture: i386 Version: 1 @@ -25,7 +25,7 @@ usr/share/doc/foo/copyright others/foo" cat ./aptarchive/dists/test/Conte TESTDIR=$(readlink -f $(dirname $0)) . $TESTDIR/framework setupenvironment -configarchitecture "i386" +configarchitecture 'i386' mkdir -p aptarchive/dists/test/main/i18n/ mkdir -p aptarchive/dists/test/main/source/