diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-10-01 14:06:01 +0200 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-10-01 14:06:01 +0200 |
commit | e8b1db38cca29cbdc0116e567f0aa7a28034287b (patch) | |
tree | a1e5750ed9f6b12185365472d99e7a4c22ca47a9 /test/integration/test-releasefile-verification | |
parent | c99fe2e169243fc6e1a3278ce3768f0f521e260b (diff) |
update test/integration/test-releasefile-verification
Diffstat (limited to 'test/integration/test-releasefile-verification')
-rwxr-xr-x | test/integration/test-releasefile-verification | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification index e558b83e8..3765a4b1f 100755 --- a/test/integration/test-releasefile-verification +++ b/test/integration/test-releasefile-verification @@ -235,10 +235,21 @@ runtest2() { " aptcache show apt failaptnew } -runtest2 +# diable some protection by default and ensure we still do the verification +# correctly +cat > rootdir/etc/apt/apt.conf.d/weaken-security <<EOF +Acquire::AllowInsecureRepositories "1"; +Acquire::AllowDowngradeToInsecureRepositories "1"; +EOF + +msgmsg "Runing base test" +runtest2 DELETEFILE="InRelease" +msgmsg "Running test with deletion of $DELETEFILE" runtest + DELETEFILE="Release.gpg" +msgmsg "Running test with deletion of $DELETEFILE" runtest |