]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
elimate duplicated code in pkgIndexFile subclasses
[apt.git] / test / integration / framework
index f3cc1eff9ed37f7d0f57550fab957687e2bb341b..53157e2d0dfef51d8839036a0ca356d16fc85568 100644 (file)
@@ -1296,7 +1296,7 @@ testdpkgstatus() {
        local PKGS="$(dpkg -l "$@" 2>/dev/null | grep "^${STATE}" | wc -l)"
        if [ "$PKGS" != $NR ]; then
                echo >&2 $PKGS
-               dpkg -l "$@" | grep '^[a-z]' >&2
+               dpkg -l "$@" | grep '^[a-z]' >&2 || true
                msgfail
        else
                msgpass