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