diff options
author | David Kalnischkies <david@kalnischkies.de> | 2016-06-04 18:45:01 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2016-06-04 18:45:01 +0200 |
commit | 307d9eb2d13ee59191b86ffec2f36ba3fffc5c20 (patch) | |
tree | 33c362f9f5326fce81ccf8bce3ad30950629ad68 /test/integration | |
parent | 0cfec3ab589c6309bf284438d2148c7742cdaf10 (diff) |
edsp: use an ID mapping for the internal solver
Currently an EDSP solver gets send basically all versions which means
the absolute count is the same, but that might not be true forever (and
with the skipping of rc-only versions it kinda is already) and even if
it were true, segfaulting on bad input seems wrong.
Diffstat (limited to 'test/integration')
-rwxr-xr-x | test/integration/test-external-dependency-solver-protocol | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/integration/test-external-dependency-solver-protocol b/test/integration/test-external-dependency-solver-protocol index 6b76fd55c..4b13edc09 100755 --- a/test/integration/test-external-dependency-solver-protocol +++ b/test/integration/test-external-dependency-solver-protocol @@ -153,6 +153,11 @@ 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 |