diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 14:15:17 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2012-09-04 14:15:17 +0200 |
commit | 2c76d72d412c1d7a2e615cd036f0730faa81dff7 (patch) | |
tree | 56d6ed27e80770557d9d1f60f98fee00f25129a1 /test/integration/skip-aptwebserver | |
parent | 1efc8dbc3932d557880e37603be9a39a73a4d493 (diff) | |
parent | fe5804fc5010dd8f2e9406187bfc1f6afeb29c5a (diff) |
merged from lp:~donkult/apt/experimental
Diffstat (limited to 'test/integration/skip-aptwebserver')
-rwxr-xr-x | test/integration/skip-aptwebserver | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/integration/skip-aptwebserver b/test/integration/skip-aptwebserver new file mode 100755 index 000000000..0622941ce --- /dev/null +++ b/test/integration/skip-aptwebserver @@ -0,0 +1,25 @@ +#!/bin/sh +set -e + +TESTDIR=$(readlink -f $(dirname $0)) +. $TESTDIR/framework + +setupenvironment +configarchitecture 'amd64' + +buildsimplenativepackage 'apt' 'all' '1.0' 'stable' + +setupaptarchive +changetowebserver + +rm -rf rootdir/var/lib/apt/lists +aptget update -qq +testequal 'Hit http://localhost stable InRelease +Hit http://localhost stable/main Sources +Hit http://localhost stable/main amd64 Packages +Hit http://localhost stable/main Translation-en +Reading package lists...' aptget update + +mv rootdir/var/lib/apt/lists/localhost* rootdir/var/lib/apt/lists/partial +aptget update + |