summaryrefslogtreecommitdiff
path: root/test/integration/framework
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-07-10 13:19:54 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-07-10 13:19:54 +0200
commit3ce22d4f714414d6deb8b044c5b08a8fe7a78967 (patch)
treed7126b848bf54996e117b8bac081753cef85d68f /test/integration/framework
parenta38a00b981de3031a51e76c8a2e220b59557c469 (diff)
cleanup, thanks to donkult for his feedback
Diffstat (limited to 'test/integration/framework')
-rw-r--r--test/integration/framework9
1 files changed, 3 insertions, 6 deletions
diff --git a/test/integration/framework b/test/integration/framework
index bf46ae0c5..8f37d4a03 100644
--- a/test/integration/framework
+++ b/test/integration/framework
@@ -687,14 +687,11 @@ signreleasefiles() {
msgdone "info"
}
-simulatebrokenwebserver() {
- if ! test -x ${BUILDDIRECTORY}/aptwebserver; then
- msgdie 'Need the aptwebserver to simulate broken connections'
+changetowebserver() {
+ if [ -n "$1" ] && ! test -x ${BUILDDIRECTORY}/aptwebserver; then
+ msgdie 'Need the aptwebserver when passing arguments'
fi
- changetowebserver '--simulate-paywall'
-}
-changetowebserver() {
if test -x ${BUILDDIRECTORY}/aptwebserver; then
cd aptarchive
LD_LIBRARY_PATH=${BUILDDIRECTORY} ${BUILDDIRECTORY}/aptwebserver $@ 2> /dev/null > /dev/null &