diff options
author | David Kalnischkies <david@kalnischkies.de> | 2015-09-15 00:33:12 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2015-09-15 10:16:09 +0200 |
commit | 6c0765c096ffb4df14169236c865bbb2b10974ae (patch) | |
tree | d4b37ceb25dec384ba08007a8b83d0ab4a6b7f92 /test/integration/test-releasefile-verification | |
parent | af81ab9030229b4ce6cbe28f0f0831d4896fda01 (diff) |
tests: don't use hardcoded port for http and https
This allows running tests in parallel.
Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-releasefile-verification')
-rwxr-xr-x | test/integration/test-releasefile-verification | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/integration/test-releasefile-verification b/test/integration/test-releasefile-verification index c5b9f147f..ba1df1a01 100755 --- a/test/integration/test-releasefile-verification +++ b/test/integration/test-releasefile-verification @@ -33,7 +33,7 @@ prepare() { } installaptold() { - testsuccessequal 'Reading package lists... + testsuccessequal "Reading package lists... Building dependency tree... Suggested packages: aptitude | synaptic | wajig dpkg-dev apt-doc bzip2 lzma python-apt @@ -41,12 +41,12 @@ The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. After this operation, 5370 kB of additional disk space will be used. -Get:1 http://localhost:8080 apt 0.7.25.3 -Download complete and in download only mode' aptget install apt -dy +Get:1 http://localhost:${APTHTTPPORT} apt 0.7.25.3 +Download complete and in download only mode" aptget install apt -dy } installaptnew() { - testsuccessequal 'Reading package lists... + testsuccessequal "Reading package lists... Building dependency tree... Suggested packages: aptitude | synaptic | wajig dpkg-dev apt-doc bzip2 lzma python-apt @@ -54,8 +54,8 @@ The following NEW packages will be installed: apt 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. After this operation, 5808 kB of additional disk space will be used. -Get:1 http://localhost:8080 apt 0.8.0~pre1 -Download complete and in download only mode' aptget install apt -dy +Get:1 http://localhost:${APTHTTPPORT} apt 0.8.0~pre1 +Download complete and in download only mode" aptget install apt -dy } failaptold() { |