diff options
author | Michael Vogt <mvo@debian.org> | 2014-04-30 17:04:29 +0200 |
---|---|---|
committer | Michael Vogt <mvo@debian.org> | 2014-04-30 17:04:29 +0200 |
commit | a11f6c973bc0dc226d8953e3edb6333d526c3143 (patch) | |
tree | df7c21f028089b99d63289d784ee5bd23d54d380 /test | |
parent | 3163087b04ca5c297a7c98c018ba5c30e850a11e (diff) |
Only do openpty() if both stdin/stdout are terminals
Closes: 746434
Diffstat (limited to 'test')
-rwxr-xr-x | test/integration/test-failing-maintainer-scripts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/test-failing-maintainer-scripts b/test/integration/test-failing-maintainer-scripts index cb82ebc7a..3dd7d643e 100755 --- a/test/integration/test-failing-maintainer-scripts +++ b/test/integration/test-failing-maintainer-scripts @@ -86,7 +86,7 @@ testmyfailure() { testfailure "$@" -o APT::Status-Fd=3 msgtest 'Test for failure message of maintainerscript in' 'console log' local TEST='rootdir/tmp/testfailure.output' - if grep -q 'exit status 29$' "$TEST"; then + if grep -q 'exit status 29' "$TEST"; then msgpass else cat $TEST |