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-acquire-same-repository-multiple-times | |
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-acquire-same-repository-multiple-times')
-rwxr-xr-x | test/integration/test-acquire-same-repository-multiple-times | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/test-acquire-same-repository-multiple-times b/test/integration/test-acquire-same-repository-multiple-times index 19a18cb63..b99496e35 100755 --- a/test/integration/test-acquire-same-repository-multiple-times +++ b/test/integration/test-acquire-same-repository-multiple-times @@ -74,11 +74,11 @@ rm -rf rootdir/var/lib/apt/lists changetowebserver -tworepos 'http' '//localhost:8080' 'no partial' +tworepos 'http' "//localhost:${APTHTTPPORT}" 'no partial' testequal '10' grep -c '200%20URI%20Start' ./download.log testequal '10' grep -c '201%20URI%20Done' ./download.log testequal '6' grep -c '^ @ Queue: Action combined' ./download.log -tworepos 'http' '//localhost:8080' 'hit' +tworepos 'http' "//localhost:${APTHTTPPORT}" 'hit' testequal '2' grep -c '200%20URI%20Start' ./download.log testequal '4' grep -c '201%20URI%20Done' ./download.log testequal '0' grep -c '^ @ Queue: Action combined' ./download.log |