testsuccessequal 'Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
testsuccessequal 'Reading package lists...
Building dependency tree...
0 upgraded, 0 newly installed, 2 reinstalled, 0 to remove and 0 not upgraded.
-Inst dependsA [1] (1 unstable [i386])
-Inst dependsB [1] (1 unstable [i386])
-Conf dependsB (1 unstable [i386])
-Conf dependsA (1 unstable [i386])' aptget install --reinstall dependsA dependsB -s
+Inst dependsa [1] (1 unstable [i386])
+Inst dependsb [1] (1 unstable [i386])
+Conf dependsb (1 unstable [i386])
+Conf dependsa (1 unstable [i386])' aptget install --reinstall dependsa dependsb -s
# there is a chance dpkg can actually do these, BUT this depends on the maintainerscripts (not) present
# which is very very risky to depend on (and apt doesn't know about that anyhow).
# there is a chance dpkg can actually do these, BUT this depends on the maintainerscripts (not) present
# which is very very risky to depend on (and apt doesn't know about that anyhow).
-testfailure aptget install --reinstall predependsA predependsB -s -o Debug::pkgPackageManager=1
-testequal "E: Couldn't configure predependsA:i386, probably a dependency cycle." tail -n1 rootdir/tmp/testfailure.output
+testfailure aptget install --reinstall predependsa predependsb -s -o Debug::pkgPackageManager=1
+testsuccess grep "^E: Couldn't configure predependsa:i386, probably a dependency cycle.$" rootdir/tmp/testfailure.output
-testfailure aptget install --reinstall predependsdependsA predependsdependsB -s -o Debug::pkgPackageManager=1
-testequal "E: Could not configure 'predependsdependsB:i386'. " tail -n1 rootdir/tmp/testfailure.output
+testfailure aptget install --reinstall predependsdependsa predependsdependsb -s -o Debug::pkgPackageManager=1
+testsuccess grep "^E: Could not configure 'predependsdependsb:i386'. $" rootdir/tmp/testfailure.output
testsuccessequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
testsuccessequal 'Reading package lists...
Building dependency tree...
The following NEW packages will be installed:
-Inst dependsA (1 unstable [i386]) []
-Inst dependsB (1 unstable [i386])
-Conf dependsB (1 unstable [i386])
-Conf dependsA (1 unstable [i386])' aptget install dependsA dependsB -s
+Inst dependsa (1 unstable [i386]) []
+Inst dependsb (1 unstable [i386])
+Conf dependsb (1 unstable [i386])
+Conf dependsa (1 unstable [i386])' aptget install dependsa dependsb -s
# there is a chance dpkg can actually do these, BUT this depends on the maintainerscripts (not) present
# which is very very risky to depend on (and apt doesn't know about that anyhow).
# there is a chance dpkg can actually do these, BUT this depends on the maintainerscripts (not) present
# which is very very risky to depend on (and apt doesn't know about that anyhow).
-testfailure aptget install predependsA predependsB -s -o Debug::pkgPackageManager=1
-testequal "E: Couldn't configure predependsA:i386, probably a dependency cycle." tail -n1 rootdir/tmp/testfailure.output
+testfailure aptget install predependsa predependsb -s -o Debug::pkgPackageManager=1
+testsuccess grep "^E: Couldn't configure predependsa:i386, probably a dependency cycle.$" rootdir/tmp/testfailure.output
-testfailure aptget install predependsdependsA predependsdependsB -s -o Debug::pkgPackageManager=1
-testequal "E: Could not configure 'predependsdependsB:i386'. " tail -n1 rootdir/tmp/testfailure.output
+testfailure aptget install predependsdependsa predependsdependsb -s -o Debug::pkgPackageManager=1
+testsuccess grep "^E: Could not configure 'predependsdependsb:i386'. $" rootdir/tmp/testfailure.output