]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-authentication-basic
tests: enhance output of grep and test fails
[apt.git] / test / integration / test-authentication-basic
index 4b0ead54a72bfc1824403eef512ab35354d00132..21b0249703e89c4e405a70240e47d3f01d169f40 100755 (executable)
@@ -18,7 +18,7 @@ testauthfailure() {
        testfailure apthelper download-file "${1}/bash" ./downloaded/bash
        # crappy test, but http and https output are wastely different…
        testsuccess grep 401 rootdir/tmp/testfailure.output
-       testsuccess test ! -s ./downloaded/bash
+       testfailure test -s ./downloaded/bash
 }
 
 testauthsuccess() {