summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-cli-upgrade
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-02-05 17:35:33 +0100
committerMichael Vogt <mvo@debian.org>2014-02-05 17:35:33 +0100
commit33b813ce44c7bafeb2a36b66fd004f8d94a2cbe4 (patch)
treea78f7197e287fafa81927305f17f8df698e17639 /test/integration/test-apt-cli-upgrade
parent4afa7d18b37661996d188959ba7917824e1545d3 (diff)
move isatty() check into InitOutput()
Diffstat (limited to 'test/integration/test-apt-cli-upgrade')
-rwxr-xr-xtest/integration/test-apt-cli-upgrade6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/test-apt-cli-upgrade b/test/integration/test-apt-cli-upgrade
index 163a55576..21ce69413 100755
--- a/test/integration/test-apt-cli-upgrade
+++ b/test/integration/test-apt-cli-upgrade
@@ -16,8 +16,7 @@ setupaptarchive
APTARCHIVE=$(readlink -f ./aptarchive)
# default is to allow new dependencies
-testequal "Calculating upgrade... Done
-The following NEW packages will be installed:
+testequal "The following NEW packages will be installed:
foo-new-dependency
The following packages will be upgraded:
foo
@@ -28,7 +27,6 @@ Conf foo-new-dependency (2.0 unstable [all])
Conf foo (2.0 unstable [all])" apt upgrade -qq -s
# ensure
-testequal "Calculating upgrade... Done
-The following packages have been kept back:
+testequal "The following packages have been kept back:
foo
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded." apt upgrade -qq -s --no-new-pkgs