]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-bug-602412-dequote-redirect
tests: don't use hardcoded port for http and https
[apt.git] / test / integration / test-bug-602412-dequote-redirect
index b9d232f90bd608668ab40df84bd24e8c23b12e0d..e90fd240b6b90548e679681a0ef432e1aebd01b9 100755 (executable)
@@ -28,9 +28,9 @@ Reading package lists..." aptget update
        testsuccess --nomsg aptget install unrelated --download-only -y
 }
 
-testrun 'http://localhost:8080'
+testrun "http://localhost:${APTHTTPPORT}"
 
 rm -rf rootdir/var/lib/apt/lists rootdir/var/cache/apt/archives
 changetohttpswebserver
 
-testrun 'https://localhost:4433'
+testrun "https://localhost:${APTHTTPSPORT}"