X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/90e7fba4ac16fc764bf6aac7b59c17c3be551b60..307d9eb2d13ee59191b86ffec2f36ba3fffc5c20:/test/integration/test-external-dependency-solver-protocol diff --git a/test/integration/test-external-dependency-solver-protocol b/test/integration/test-external-dependency-solver-protocol index e22684ec5..4b13edc09 100755 --- a/test/integration/test-external-dependency-solver-protocol +++ b/test/integration/test-external-dependency-solver-protocol @@ -153,45 +153,50 @@ else cat solver.result msgfail fi +testsuccess grep '^APT-ID: 1$' "$APT_EDSP_DUMP_FILENAME" +sed -i -e 's#^APT-ID: 1$#APT-ID: 10000#' "$APT_EDSP_DUMP_FILENAME" +cat "$APT_EDSP_DUMP_FILENAME" | aptinternalsolver > solver.result 2>&1 || true +testsuccessequal 'Message: Done +' tail -n2 solver.result rm -f "$APT_EDSP_DUMP_FILENAME" testsuccess aptinternalsolver scenario testsuccessequal 'Package: stuff -Source: stuff Architecture: all Version: 3 -Source-Version: 3 APT-ID: 1 +Multi-Arch: foreign +Source: stuff +Source-Version: 3 Priority: optional Section: other -Multi-Arch: foreign APT-Release: a=experimental,n=experimental,c=main,b=all APT-Pin: 1 Package: stuff -Source: stuff Architecture: all Version: 2 -Source-Version: 2 APT-ID: 3 +Multi-Arch: foreign +Source: stuff +Source-Version: 2 Priority: optional Section: other -Multi-Arch: foreign APT-Release: a=unstable,n=sid,c=main,b=all APT-Pin: 500 APT-Candidate: yes Package: stuff -Source: stuff Architecture: all Version: 1 -Source-Version: 1 -Installed: yes APT-ID: 8 +Source: stuff +Source-Version: 1 Priority: optional Section: other +Installed: yes APT-Pin: 100 ' aptinternalsolver scenario stuff