summaryrefslogtreecommitdiff
path: root/test/integration/test-releasefile-verification
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-releasefile-verification
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-releasefile-verification')
-rwxr-xr-xtest/integration/test-releasefile-verification5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification
index a95c20fd4..217319cab 100755
--- a/test/integration/test-releasefile-verification
+++ b/test/integration/test-releasefile-verification
@@ -7,6 +7,7 @@ TESTDIR="$(readlink -f "$(dirname "$0")")"
setupenvironment
configarchitecture "i386"
+export APT_DONT_SIGN='Release.gpg'
buildaptarchive
setupflataptarchive
changetowebserver
@@ -368,7 +369,7 @@ runtest3() {
export APT_DONT_SIGN="$DELETEFILE"
msgmsg "Running test with deletion of $DELETEFILE and $1 digest"
runtest
- unset APT_DONT_SIGN
+ export APT_DONT_SIGN='Release.gpg'
done
}
@@ -424,7 +425,7 @@ runfailure() {
testsuccessequal "$(cat "${PKGFILE}")
" aptcache show apt
failaptold
- unset APT_DONT_SIGN
+ export APT_DONT_SIGN='Release.gpg'
done
}
runfailure