]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-ftparchive-cachedb
deal with hashes in ftparchive more dynamic as well
[apt.git] / 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/