summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2021-01-13 16:55:55 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2021-01-13 16:55:55 +0100
commit569c836154e17f09c1c96231b2230c9d23a4324f (patch)
tree36b8685ce59ec42917a9b9c578ee2bc1bbff2e93
parent34bf934a6275d4c8b21d2571a9d1597a9a4b9c15 (diff)
Adjust apt-mark test for dpkg 1.20.7
-rwxr-xr-xtest/integration/test-apt-mark15
1 files changed, 13 insertions, 2 deletions
diff --git a/test/integration/test-apt-mark b/test/integration/test-apt-mark
index 7a115b03f..630a0d460 100755
--- a/test/integration/test-apt-mark
+++ b/test/integration/test-apt-mark
@@ -99,8 +99,19 @@ testmarkonepkgashold 'uninstalled-native'
testsuccessequal 'uninstalled set on hold.' aptmark hold uninstalled
testsuccessequal 'uninstalled-native set on hold.' aptmark hold uninstalled-native
-#FIXME: holds on uninstalled packages are not persistent in dpkg
-testsuccessequal 'Reading package lists...
+# FIXME: Remove old alternative answer for dpkg < 1.20.7 post bullseye release
+testequalor2 'Reading package lists...
+Building dependency tree...
+Reading state information...
+The following NEW packages will be installed:
+ uninstalled uninstalled-native
+The following held packages will be changed:
+ uninstalled uninstalled-native
+0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
+Inst uninstalled (1 unstable [all])
+Inst uninstalled-native (1 unstable [amd64])
+Conf uninstalled (1 unstable [all])
+Conf uninstalled-native (1 unstable [amd64])' 'Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed: