projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9deab9c
)
Fix test/tests/show/test-longlines
author
markus schnalke
<meillo@marmaro.de>
Sun, 4 Nov 2018 13:11:01 +0000
(14:11 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Sun, 4 Nov 2018 13:11:01 +0000
(14:11 +0100)
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.
test/tests/show/test-longlines
patch
|
blob
|
history
diff --git
a/test/tests/show/test-longlines
b/test/tests/show/test-longlines
index
c15c1cb
..
f6ae126
100644
(file)
--- 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