]>
git.saurik.com Git - apt.git/blob - test/integration/test-apt-redirect-loop
4 TESTDIR
="$(readlink -f "$(dirname "$0")")"
8 configarchitecture "i386
"
10 echo 'alright' > aptarchive/working
11 changetohttpswebserver
12 webserverconfig 'aptwebserver::redirect::replace::/redirectme3/' '/redirectme/'
13 webserverconfig 'aptwebserver::redirect::replace::/redirectme2/' '/redirectme3/'
14 webserverconfig 'aptwebserver::redirect::replace::/redirectme/' '/redirectme2/'
16 testfailure apthelper download-file "http
://localhost
:${APTHTTPPORT}/redirectme
/working
" httpfile
17 testsuccess grep 'Redirection loop encountered' rootdir/tmp/testfailure.output
19 testfailure apthelper download-file "https
://localhost
:${APTHTTPSPORT}/redirectme
/working
" httpsfile
20 testsuccess grep 'Redirection loop encountered' rootdir/tmp/testfailure.output