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-bug-lp1445239-download-loop | |
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-bug-lp1445239-download-loop')
-rwxr-xr-x | test/integration/test-bug-lp1445239-download-loop | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-bug-lp1445239-download-loop b/test/integration/test-bug-lp1445239-download-loop index 4e4de67bd..6629e823d 100755 --- a/test/integration/test-bug-lp1445239-download-loop +++ b/test/integration/test-bug-lp1445239-download-loop @@ -21,7 +21,7 @@ DOWNLOADLOG='rootdir/tmp/testdownloadfile.log' TARGET=./downloaded/testfile-downloaded dd if=/dev/zero of=$TARGET bs=99k count=1 2>/dev/null -if ! downloadfile http://localhost:8080/testfile "$TARGET" > "$DOWNLOADLOG"; then +if ! downloadfile http://localhost:${APTHTTPPORT}/testfile "$TARGET" > "$DOWNLOADLOG"; then cat >&2 "$DOWNLOADLOG" msgfail else |