]>
git.saurik.com Git - apt.git/blob - test/integration/test-bug-717891-abolute-uris-for-proxies
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
7 configarchitecture 'amd64'
9 buildsimplenativepackage 'unrelated' 'all' '0.5~squeeze1' 'unstable'
12 changetowebserver --request-absolute='uri'
14 msgtest 'Check that absolute paths are' 'not accepted'
15 testfailure --nomsg aptget update --allow-insecure-repositories
17 echo "Acquire
::http
::Proxy
\"http
://localhost
:${APTHTTPPORT}\";" > rootdir/etc/apt/apt.conf.d/99proxy
19 msgtest 'Check that requests to proxies are' 'absolute uris'
20 testsuccess --nomsg aptget update
22 testsuccessequal 'Reading package lists...
23 Building dependency tree...
24 The following NEW packages will be installed:
26 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
27 Inst unrelated (0.5~squeeze1 unstable [all])
28 Conf unrelated (0.5~squeeze1 unstable [all])' aptget install unrelated -s