]>
Commit | Line | Data |
---|---|---|
469b0278 DK |
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 | ||
0440d936 DK |
17 | testsuccess aptget update |
18 | testsuccess aptget install pkgall pkgnative pkgforeign -y | |
469b0278 | 19 | |
18908589 DK |
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 | |
469b0278 | 24 | |
25b86db1 | 25 | testsuccessequal 'Reading package lists... |
469b0278 DK |
26 | Building dependency tree... |
27 | Reading state information...' aptget autoclean -s |