summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cache
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2015-09-12 10:35:49 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2015-09-14 15:22:19 +0200
commit7414af7fa88164209eec9c585b8d175c1618ecbc (patch)
tree2a582637043bd8c57d43bf8b193dd9ecb479d559 /test/integration/test-apt-cache
parent7c4f1ca5fe315a8223570b05994d6d7ca7c55c4f (diff)
various changes to increase test-coverage
And of course, testing obscure things ends up showing obscure 'bugs' or better shortcomings/inconsitencies, so lets fix them with the tests. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-cache')
-rwxr-xr-xtest/integration/test-apt-cache1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/test-apt-cache b/test/integration/test-apt-cache
index 7927686fc..c254aa602 100755
--- a/test/integration/test-apt-cache
+++ b/test/integration/test-apt-cache
@@ -34,6 +34,7 @@ testempty aptcache unmet dpkg
testsuccess aptcache stats
cp rootdir/tmp/testsuccess.output stats.output
testsuccess test -s stats.output
+testfailureequal 'E: apt-cache stats does not take any arguments' aptcache stats foo
testsuccess aptcache xvcg foo
cp rootdir/tmp/testsuccess.output xvcg.output
testsuccess test -s xvcg.output