]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" | |
5 | . "$TESTDIR/framework" | |
6 | setupenvironment | |
7 | configarchitecture 'amd64' 'i386' | |
8 | ||
9 | buildsimplenativepackage 'pkgall' 'all' '1' 'stable' | |
10 | buildsimplenativepackage 'pkgnative' 'amd64' '1' 'stable' | |
11 | buildsimplenativepackage 'pkgforeign' 'i386' '1' 'stable' | |
12 | ||
13 | setupaptarchive | |
14 | ||
15 | changetowebserver | |
16 | ||
17 | testsuccess aptget update | |
18 | testsuccess aptget install pkgall pkgnative pkgforeign -y | |
19 | ||
20 | # if we work with an old dpkg, pkgforeign will be listed differently, | |
21 | # so test with aptcache for install status instead | |
22 | testdpkginstalled pkgall pkgnative | |
23 | testsuccess aptcache show pkgforeign/installed | |
24 | ||
25 | testsuccessequal 'Reading package lists... | |
26 | Building dependency tree... | |
27 | Reading state information...' aptget autoclean -s |