summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-get-download
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-01-17 01:02:47 +0100
committerDavid Kalnischkies <david@kalnischkies.de>2014-01-17 01:02:47 +0100
commit0954c58eeb07f5c3c6e6385e0547924a4917c21d (patch)
treea99b929bf657feb3ac1bbd898ce179ae83f51343 /test/integration/test-apt-get-download
parent77a45bebc9168b396334630ef109c1d48ddaf930 (diff)
improve stdout/stderr usage correctness in test framework
Also adds a friendly note about how many tests were run/passed so that the end of the testrun isn't all that negative by just showing fails. (It now tells us that we have 111 tests at the moment!) Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-get-download')
-rwxr-xr-xtest/integration/test-apt-get-download3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/integration/test-apt-get-download b/test/integration/test-apt-get-download
index 6eac079f3..fce0be018 100755
--- a/test/integration/test-apt-get-download
+++ b/test/integration/test-apt-get-download
@@ -19,7 +19,8 @@ testdownload() {
APT="${APT}/${3}"
fi
msgtest "Test download of package file $1 with" "$APT"
- aptget -qq download ${APT} && test -f $1 && msgpass || msgfail
+ testsuccess --nomsg aptget download ${APT}
+ testsuccess test -f $1
rm $1
}