From 569c836154e17f09c1c96231b2230c9d23a4324f Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Wed, 13 Jan 2021 16:55:55 +0100 Subject: Adjust apt-mark test for dpkg 1.20.7 --- test/integration/test-apt-mark | 15 +++++++++++++-- 1 file 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: -- cgit v1.2.3