summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-update
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2014-10-19 14:14:37 +0200
committerDavid Kalnischkies <david@kalnischkies.de>2014-10-20 10:37:46 +0200
commit1df24acfdb8ba1cd8bbbaa166f170dda480ce41e (patch)
tree992b2cc2f5f02a34a49b5bac160070ec30cf34b1 /test/integration/test-apt-cli-update
parentcecc5532b8d64394a8f8641e78f4a0cc5f7a51fc (diff)
check for failure message in testsuccess/failure
These functions check the exit code of the command, but for apt commands we can go further and require an error message for non-zero exits and none for zero exits. Git-Dch: Ignore
Diffstat (limited to 'test/integration/test-apt-cli-update')
-rwxr-xr-xtest/integration/test-apt-cli-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-apt-cli-update b/test/integration/test-apt-cli-update
index 8237bf03f..987bb9adb 100755
--- a/test/integration/test-apt-cli-update
+++ b/test/integration/test-apt-cli-update
@@ -10,7 +10,7 @@ configarchitecture "i386"
insertpackage 'unstable' 'foo' 'all' '2.0'
insertinstalledpackage 'foo' 'all' '1.0'
-setupaptarchive
+setupaptarchive --no-update
APTARCHIVE=$(readlink -f ./aptarchive)