X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/245dde96193702f7f51389d3583dee547f8ba366..b7aa74a1859e3be00f3a20b0956d1cb93d62df5b:/test/integration/test-bug-602412-dequote-redirect diff --git a/test/integration/test-bug-602412-dequote-redirect b/test/integration/test-bug-602412-dequote-redirect index b9d232f90..c5f0e1e64 100755 --- a/test/integration/test-bug-602412-dequote-redirect +++ b/test/integration/test-bug-602412-dequote-redirect @@ -1,8 +1,8 @@ #!/bin/sh set -e -TESTDIR=$(readlink -f $(dirname $0)) -. $TESTDIR/framework +TESTDIR="$(readlink -f "$(dirname "$0")")" +. "$TESTDIR/framework" setupenvironment configarchitecture 'amd64' @@ -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}"