X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/3abb6a6a1e485b3bc899b64b0a1b7dc2db25a9c2..952171787a0b865c17d5c9476e272106383ae93a:/test/integration/test-apt-cache?ds=sidebyside diff --git a/test/integration/test-apt-cache b/test/integration/test-apt-cache index 9ff8ea724..bff1667e8 100755 --- a/test/integration/test-apt-cache +++ b/test/integration/test-apt-cache @@ -46,14 +46,14 @@ testsuccess aptcache dump cp rootdir/tmp/testsuccess.output dump.output testsuccess test -s dump.output -testsuccessequal 'dpkg -bar -fancy +testsuccessequal 'bar +foo +dpkg specific -foo' aptcache pkgnames +fancy' aptcache pkgnames testsuccessequal 'bar' aptcache pkgnames bar -testsuccessequal 'fancy -foo' aptcache pkgnames f +testsuccessequal 'foo +fancy' aptcache pkgnames f testsuccessequal " foo | 1 | file:$(readlink -f .)/aptarchive unstable/main all Packages" aptcache madison foo @@ -120,9 +120,12 @@ bar Depends: bar Breaks: foo Replaces: foo + Breaks: + Replaces: -' aptcache depends foo --recurse --implicit + +' aptcache depends foo --recurse --implicit testsuccessequal 'foo Depends: bar bar @@ -132,7 +135,9 @@ testsuccessequal 'foo Depends: bar bar Depends: bar - Replaces: foo' aptcache depends foo --recurse --important --replaces --implicit + Replaces: foo + Replaces: +' aptcache depends foo --recurse --important --replaces --implicit testsuccessequal 'bar Depends: bar Breaks: foo @@ -140,7 +145,9 @@ testsuccessequal 'bar testsuccessequal 'bar Depends: bar Breaks: foo - Replaces: foo' aptcache depends bar --implicit + Replaces: foo + Breaks: + Replaces: ' aptcache depends bar --implicit testsuccessequal 'specific Depends: