summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-05-08 18:52:51 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-05-22 17:43:48 +0200
commita6fd378a9b2a541a18aeba722ecfedba9af567cb (patch)
treecb4b43b7569f1e6f8517bd02f99c42d7eeb51998
parent6f22aa086954064b2ee58cd11b50832b242d54ad (diff)
make test independent from the actual Install-Size
Git-Dch: Ignore
-rwxr-xr-xtest/integration/test-apt-ftparchive-cachedb4
1 files changed, 2 insertions, 2 deletions
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 <joe@example.org>
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/