From: markus schnalke Date: Sun, 4 Nov 2018 13:11:01 +0000 (+0100) Subject: Fix test/tests/show/test-longlines X-Git-Tag: mmh-0.4~19 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=defe82a74d1742f7f723e2c8311905577320342a;p=mmh Fix test/tests/show/test-longlines Although it worked correct on the server, it did not in terminals which have a number of columns set, like those connected to a screen. The test now sets `-width 2000' for mhl(1) via the test config. --- diff --git a/test/tests/show/test-longlines b/test/tests/show/test-longlines index c15c1cb..f6ae126 100644 --- a/test/tests/show/test-longlines +++ b/test/tests/show/test-longlines @@ -26,6 +26,11 @@ addcr() { } +# Ensure lines won't get folded +echo "mhl: -width 2000" >> "$MMH/profile" +trap 'printf "/^mhl:/d\nw\nq\n" | ed - "$MMH/profile"' 0 1 2 15 + + len=997 # Write message with long header line