]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-policy-pinning
test exitcode as well as string equality
[apt.git] / test / integration / test-policy-pinning
index c08a2f103d3fd611b696b6b28f625b971f224c51..15bf300ac5e7cdf3311f618f4a3a8ef978d8ef39 100755 (executable)
@@ -17,7 +17,7 @@ testequalpolicy() {
        local SP="$1"
        local AP="$2"
        shift 2
-       testequal "Package files:
+       testsuccessequal "Package files:
  $(echo "$SP" | awk '{ printf("%3s\n",$0) }') ${STATUS}
      release a=now
  $(echo "$AP" | awk '{ printf("%3s\n",$0) }') file:${APTARCHIVE}/  Packages
@@ -126,7 +126,7 @@ testequalpolicycoolstuff() {
                shift
        fi
        shift 6
-       testequal "coolstuff:
+       testsuccessequal "coolstuff:
   Installed: $INSTALLED
   Candidate: $CANDIDATE
   ${PINVERSION}Version table:${BPO2ARCHIVE}