]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-external-dependency-solver-protocol
edsp: use an ID mapping for the internal solver
[apt.git] / test / integration / test-external-dependency-solver-protocol
index 6b76fd55c92c17947a53fcb6f7170ff0d39370d4..4b13edc0948fafa57e72773aece99235947b5586 100755 (executable)
@@ -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