]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-get-source-authenticated
test exitcode as well as string equality
[apt.git] / test / integration / test-apt-get-source-authenticated
index d73097b5414dedf855f9e1376c5798fd8d0c9906..685bc566b98e2e2306719232098ca698703c22fd 100755 (executable)
@@ -21,11 +21,13 @@ APTARCHIVE=$(readlink -f ./aptarchive)
 rm -f $APTARCHIVE/dists/unstable/*Release*
 
 # update without authenticated InRelease file
-testsuccess aptget update --allow-unauthenticated
+testwarning aptget update --allow-insecure-repositories
 
 # this all should fail
 testfailure aptget install -y foo
+cd downloaded
 testfailure aptget source foo
-
+testfailure test -e foo_2.0.dsc
 # allow overriding the warning
-testsuccess aptget source --allow-unauthenticated foo
+testsuccess aptget source --allow-unauthenticated foo -o Debug::pkgAcquire::Worker=1
+testsuccess test -s foo_2.0.dsc -a -L foo_2.0.dsc