]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-590041-prefer-non-virtual-packages
accept ../ on the cmdline as start for a deb file as well
[apt.git] / test / integration / test-bug-590041-prefer-non-virtual-packages
index 0ce4c14131c6f0c67e28fbcf8ea994707aed1212..b05ef55392abd8982f569d356a5e1f993ef44dbb 100755 (executable)
@@ -38,16 +38,16 @@ Section: oldlibs
 Size: 44168
 "
 
-cat <<-EOF >aptarchive/Packages
+cat >aptarchive/Packages <<EOF
 $pkglibc6
 $pkglibdb1
 EOF
 
 setupaptarchive
 
-testshowvirtual libc6:i386
-testequal "$pkglibc6" aptcache show libc6:armel
-testequal "$pkglibc6" aptcache show libc6
-testequal "$pkglibdb1" aptcache show libdb1:i386
+testnopackage libc6:i386
+testsuccessequal "$pkglibc6" aptcache show libc6:armel
+testsuccessequal "$pkglibc6" aptcache show libc6
+testsuccessequal "$pkglibdb1" aptcache show libdb1:i386
 testnopackage libdb1:armel
-testequal "$pkglibdb1" aptcache show libdb1
+testsuccessequal "$pkglibdb1" aptcache show libdb1