]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-617690-allow-unauthenticated-makes-all-untrusted
test if TMPDIR is accessible before using
[apt.git] / test / integration / test-bug-617690-allow-unauthenticated-makes-all-untrusted
index 276e10564fcfbfcc54721859dc09ac5c16ed160f..164dca070bb84e5670dc4c8291cfd8837a5aa9d0 100755 (executable)
@@ -26,7 +26,7 @@ testrun() {
        rm -rf rootdir/var/lib/apt
 
        if [ "$1" = 'trusted' ]; then
-           testsuccess aptget update
+               testsuccess aptget update
 
                testsuccess aptget download cool
                testfileexists 'cool_1.0_i386.deb'
@@ -34,7 +34,7 @@ testrun() {
                testsuccess aptget download cool --allow-unauthenticated
                testfileexists 'cool_1.0_i386.deb'
        else
-           testsuccess aptget update --allow-unauthenticated
+                testwarning aptget update --allow-insecure-repositories
 
                testfailure aptget download cool
                testfilemissing 'cool_1.0_i386.deb'