summaryrefslogtreecommitdiff
path: root/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-04 11:10:08 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-04 12:12:27 +0200
commit761a5ad2ec07f097b05c32427bd0ebddfd587987 (patch)
tree37601497dbb8dd8b3ec73f3bba7a95bad377a30c /test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
parent737ce3135d332e3b6165ac1fac5c68e21ba1bdba (diff)
tests: allow to disable generation of InRelease/Release.gpg file
If the test just signs release files to throw away one of them to test the other, we can just as well save the time and not create it. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-ubuntu-bug-784473-InRelease-one-message-only')
-rwxr-xr-xtest/integration/test-ubuntu-bug-784473-InRelease-one-message-only6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only b/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
index 21d7129ae..fe42ba83d 100755
--- a/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
+++ b/test/integration/test-ubuntu-bug-784473-InRelease-one-message-only
@@ -8,11 +8,9 @@ configarchitecture 'i386'
insertpackage 'unstable' 'apt' 'i386' '0.8.11'
-setupaptarchive
+export APT_DONT_SIGN='Release.gpg'
+setupaptarchive --no-update
-rm -rf rootdir/var/lib/apt/lists
-
-find aptarchive/ -name 'Release.gpg' -delete
find aptarchive/ -name 'InRelease' -exec cp {} {}.old \;
for RELEASE in $(find aptarchive/ -name 'InRelease'); do