]> git.saurik.com Git - apt.git/commitdiff
make test independent from the actual Install-Size
authorDavid Kalnischkies <david@kalnischkies.de>
Thu, 8 May 2014 16:52:51 +0000 (18:52 +0200)
committerDavid Kalnischkies <david@kalnischkies.de>
Thu, 8 May 2014 16:52:51 +0000 (18:52 +0200)
Git-Dch: Ignore

test/integration/test-apt-ftparchive-cachedb

index 147272a2c4d0f5599b0bfb1b60f779514ef7eea9..0e1986bcd0c407573eeb3f192e4b10d3346b7ddc 100755 (executable)
@@ -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/