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