]> git.saurik.com Git - apt.git/blobdiff - test/integration/framework
do not restore selections for already purged packages
[apt.git] / test / integration / framework
index d40c9f356ae27a8d6ed1fac9dd2a7b0cf11263d9..0daf776f58ba24ae197ee7def285dd8beb99c1d0 100644 (file)
@@ -1989,7 +1989,7 @@ testaptautotestnodpkgwarning() {
                if expr match "$2" '^-dy\?' >/dev/null 2>&1; then return; fi # download-only mode
                shift
        done
-       testfailure grep '^dpkg: warning:.*ignor.*' "${TMPWORKINGDIRECTORY}/rootdir/tmp-before/${TESTCALL}.output"
+       testfailure grep '^dpkg: warning:.*\(ignor\|unknown\).*' "${TMPWORKINGDIRECTORY}/rootdir/tmp-before/${TESTCALL}.output"
 }
 
 aptautotest_aptget_install() { testaptautotestnodpkgwarning "$@"; }