]> 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 d833ddd8533e9fe8037f86c2789f5bad924462f2..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-insecure-repositories
+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