summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-04-30 17:04:29 +0200
committerMichael Vogt <mvo@debian.org>2014-06-12 08:43:44 +0200
commitb2cde5777fd9ab41d1b9fe5ce91196c0d3e8227d (patch)
tree176e035b176bf77b26224daeb2f2f00426aaa2da /test
parentbf5a35614195aadcb3175e2617b693cd865dd640 (diff)
Only do openpty() if both stdin/stdout are terminals
Closes: 746434
Diffstat (limited to 'test')
-rwxr-xr-xtest/integration/test-failing-maintainer-scripts2
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