]> git.saurik.com Git - apt.git/blobdiff - test/integration/test-failing-maintainer-scripts
pass --force-remove-essential to dpkg only if needed
[apt.git] / test / integration / test-failing-maintainer-scripts
index 781d06e5c11e66cf3eb1e2fc4734ccf5a3d6bf9b..8cf2380eeb485beea5169f1765d1a34efc6ea051 100755 (executable)
@@ -84,5 +84,8 @@ testdpkginstalled failure-postrm
 testmyfailure aptget purge failure-postrm -y
 
 # FIXME: test with output going to a PTY as it usually does
-#cp -a rootdir/var/lib/dpkg/status.backup rootdir/var/lib/dpkg/status
-#aptget install failure-preinst -y
+if false; then
+       cp -a rootdir/var/lib/dpkg/status.backup rootdir/var/lib/dpkg/status
+       apt install dependee -y || true
+       apt install failure-postinst -y || true
+fi