summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-update
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/test-apt-cli-update')
-rwxr-xr-xtest/integration/test-apt-cli-update4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/integration/test-apt-cli-update b/test/integration/test-apt-cli-update
index d68ab25e4..dad365f7e 100755
--- a/test/integration/test-apt-cli-update
+++ b/test/integration/test-apt-cli-update
@@ -13,9 +13,7 @@ insertinstalledpackage 'foo' 'all' '1.0'
setupaptarchive --no-update
-APTARCHIVE=$(readlink -f ./aptarchive)
-
-testfailureequal 'E: The update command takes no arguments' apt update -q arguments
+testfailuremsg 'E: The update command takes no arguments' apt update arguments
testsuccessequal "1 package can be upgraded. Run 'apt list --upgradable' to see it." apt update -q