]> git.saurik.com Git - apt.git/blob - test/integration/test-apt-update-ims
cf2b28bb55f82ff787ca0707a736606943231462
[apt.git] / test / integration / test-apt-update-ims
1 #!/bin/sh
2 set -e
3
4 TESTDIR=$(readlink -f $(dirname $0))
5 . $TESTDIR/framework
6 setupenvironment
7 configarchitecture 'amd64'
8
9 buildsimplenativepackage 'unrelated' 'all' '0.5~squeeze1' 'unstable'
10
11 setupaptarchive
12 changetowebserver
13
14 testsuccess aptget update
15
16 # check that I-M-S header is kept in redirections
17 testequal "Hit http://localhost:8080 unstable InRelease
18 Hit http://localhost:8080 unstable/main Sources
19 Hit http://localhost:8080 unstable/main amd64 Packages
20 Hit http://localhost:8080 unstable/main Translation-en
21 Reading package lists..." aptget update
22