Commit | Line | Data |
---|---|---|
1 | #!/bin/sh | |
2 | set -e | |
3 | ||
4 | TESTDIR="$(readlink -f "$(dirname "$0")")" | |
5 | . "$TESTDIR/framework" | |
6 | setupenvironment | |
7 | TMPDIR=$(readlink -f .) | |
8 | ||
9 | insertinstalledpackage 'worldofgoo' 'all' '1' | |
10 | insertpackage 'unstable' 'WorldOfGoo' 'all' '1' | |
11 | ||
12 | setupaptarchive | |
13 | ||
14 | testsuccessequal "worldofgoo: | |
15 | Installed: 1 | |
16 | Candidate: 1 | |
17 | Version table: | |
18 | *** 1 500 | |
19 | 500 file:${TMPDIR}/aptarchive unstable/main all Packages | |
20 | 100 ${TMPDIR}/rootdir/var/lib/dpkg/status" \ | |
21 | aptcache policy worldofgoo |