]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-apt-cache
set failreasons similar to connect.cc based on curl errors
[apt.git] / test / integration / test-apt-cache
index 7927686fcdd3bf78fa1d3277be9ad92aedab3697..c254aa602dc6c20e2a01aac1cd18763af067129d 100755 (executable)
@@ -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