summaryrefslogtreecommitdiff
path: root/test/integration/test-failing-maintainer-scripts
Commit message (Collapse)AuthorAgeFilesLines
* close leaking slave fd after setting up pty magicDavid Kalnischkies2014-11-181-45/+1
| | | | | | | The fd moves out of scope here anyway, so we should close it properly instead of leaking it which will tickle down to dpkg maintainer scripts. Closes: 767774
* Only do openpty() if both stdin/stdout are terminalsMichael Vogt2014-04-301-1/+1
| | | | Closes: 746434
* ensure proper teardown in dpkg error casesDavid Kalnischkies2014-03-221-0/+132
We have to properly close our pseudo terminals even in error cases before we call post-invoke scripts. This is done now by breaking from the dpkg calling loop instead of copying the handling, which did it in the wrong order before. This also ensures that our state file is written in error cases to record autobit and co as this was forgotten before. Closes: 738969