]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-essential-force-loopbreak
Fix segfault and out-of-bounds read in Binary fields
[apt.git] / test / integration / test-essential-force-loopbreak
index 6f7d99cb602e3b4356e3f394d90c8a2c7b16d0e1..f585e9c424b02061e3356bc03092315c265a9466 100755 (executable)
@@ -43,6 +43,9 @@ E: Internal Error, Could not early remove sysvinit:$(dpkg --print-architecture)
 
        # with enough force however …
        cp -a dpkg.status.backup rootdir/var/lib/dpkg/status
+       testsuccess aptget install systemd-sysv -y -t "$1" -o APT::Force-LoopBreak=1 -o Debug::pkgDpkgPm=1
+       cp rootdir/tmp/testsuccess.output apt.output
+       testsuccess grep -- '--force-remove-essential --remove sysvinit' apt.output
        testsuccess aptget install systemd-sysv -y -t "$1" -o APT::Force-LoopBreak=1
        testdpkginstalled 'sysvinit' 'systemd-sysv'
 }