blob: 65da7b14632a4efd1ba841193f42be9bb1dbfa20 (
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
|