summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cache
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-apt-cache')
-rwxr-xr-xtest/integration/test-apt-cache10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/integration/test-apt-cache b/test/integration/test-apt-cache
index 56c3268fb..c003fba8c 100755
--- a/test/integration/test-apt-cache
+++ b/test/integration/test-apt-cache
@@ -22,9 +22,9 @@ Replaces: foo:i386 (<< 1)' "$DESCR"
setupaptarchive
-# dpkg is installed by our framework
-testdpkginstalled 'dpkg'
-testempty aptcache unmet dpkg
+insertinstalledpackage 'awesome' 'all' '1'
+testdpkginstalled 'awesome'
+testempty aptcache unmet awesome
# FIXME: Find some usecase for unmet as it seems kinda useless/broken
#testsuccess aptcache unmet
@@ -46,9 +46,9 @@ testsuccess aptcache dump
cp rootdir/tmp/testsuccess.output dump.output
testsuccess test -s dump.output
-testsuccessequal 'dpkg
-bar
+testsuccessequal 'bar
foo
+awesome
specific
fancy' aptcache pkgnames
testsuccessequal 'bar' aptcache pkgnames bar