summaryrefslogtreecommitdiff
path: root/test/integration/test-bug-633350-do-not-kill-last-char-in-Release
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2016-05-04 11:45:35 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2016-05-04 12:12:33 +0200
commit5a23c56d6852a27d45c2ae227b43060f7beac051 (patch)
tree5165a8f0d8743707019c0933a31ac3354c63d6f3 /test/integration/test-bug-633350-do-not-kill-last-char-in-Release
parent761a5ad2ec07f097b05c32427bd0ebddfd587987 (diff)
tests: disable generation of Release.gpg by default
Most tests just need a signed repository and don't care if it signed by an InRelease file or a Release.gpg file, so we can save some time by just generating one of them by default. Sounds like not much, but quickly adds up to a few seconds with the amount of tests we have accumulated by now. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-bug-633350-do-not-kill-last-char-in-Release')
-rwxr-xr-xtest/integration/test-bug-633350-do-not-kill-last-char-in-Release15
1 files changed, 2 insertions, 13 deletions
diff --git a/test/integration/test-bug-633350-do-not-kill-last-char-in-Release b/test/integration/test-bug-633350-do-not-kill-last-char-in-Release
index c0802e8b5..d7dd261f6 100755
--- a/test/integration/test-bug-633350-do-not-kill-last-char-in-Release
+++ b/test/integration/test-bug-633350-do-not-kill-last-char-in-Release
@@ -8,20 +8,9 @@ configarchitecture 'amd64'
insertpackage 'unstable' 'cool' 'amd64' '1.0'
+export APT_DONT_SIGN='InRelease'
setupaptarchive --no-update
echo 'NotAutomatic: yes' >> aptarchive/dists/unstable/Release
-
signreleasefiles
-find aptarchive/dists -name 'InRelease' -delete
-
-rm -rf rootdir/var/lib/apt/lists
-
-OUTPUT="$(aptget update 2>&1)"
-msgtest 'Check that parsing happens without warnings' 'with missing newline'
-if echo "${OUTPUT}" | grep '^W:' > /dev/null; then
- msgfail
- echo "${OUTPUT}"
-else
- msgpass
-fi
+testsuccess aptget update