summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-838779-untrusted-to-trusted-Release-hit
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-bug-838779-untrusted-to-trusted-Release-hit')
-rwxr-xr-xtest/integration/test-bug-838779-untrusted-to-trusted-Release-hit6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/integration/test-bug-838779-untrusted-to-trusted-Release-hit b/test/integration/test-bug-838779-untrusted-to-trusted-Release-hit
index 6fcc2b8e1..50234753b 100755
--- a/test/integration/test-bug-838779-untrusted-to-trusted-Release-hit
+++ b/test/integration/test-bug-838779-untrusted-to-trusted-Release-hit
@@ -23,7 +23,8 @@ testdpkgnotinstalled 'foo'
msgmsg 'Untrusted to trusted hit' 'InRelease'
rm -rf rootdir/var/lib/apt/lists rootdir/var/cache/apt/archives
mv rootdir/etc/apt/trusted.gpg.d rootdir/etc/apt/trusted.gpg.d-bak
-testwarning aptget update
+testfailure aptget update
+testwarning aptget update --allow-insecure-repositories
testfailure apt install foo -y
testdpkgnotinstalled 'foo'
mv rootdir/etc/apt/trusted.gpg.d-bak rootdir/etc/apt/trusted.gpg.d
@@ -37,7 +38,8 @@ msgmsg 'Untrusted to trusted hit' 'Release.gpg'
find aptarchive -name 'InRelease' -delete
rm -rf rootdir/var/lib/apt/lists rootdir/var/cache/apt/archives
mv rootdir/etc/apt/trusted.gpg.d rootdir/etc/apt/trusted.gpg.d-bak
-testwarning aptget update
+testfailure aptget update
+testwarning aptget update --allow-insecure-repositories
testfailure apt install foo -y
testdpkgnotinstalled 'foo'
mv rootdir/etc/apt/trusted.gpg.d-bak rootdir/etc/apt/trusted.gpg.d