Commit 827cb66a 827cb66a4c639139c3f11c7af26aa5149f25a7e0 by Sergey Poznyakoff

Minor fix

* mh/tests/comp.at: Remove trailing whitespace before comparisons
1 parent 5acfb2a3
...@@ -18,8 +18,8 @@ m4_pushdef([MH_KEYWORDS],[comp]) ...@@ -18,8 +18,8 @@ m4_pushdef([MH_KEYWORDS],[comp])
18 m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed]) 18 m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed])
19 19
20 MH_CHECK([comp -file],[comp00 comp-file],[ 20 MH_CHECK([comp -file],[comp00 comp-file],[
21 echo quit | compcmd -file ./infile | remove_curdir 21 echo quit | compcmd -file ./infile | remove_curdir | sed 's/ *$//'
22 cat infile 22 sed 's/ *$//' infile
23 ], 23 ],
24 [0], 24 [0],
25 [-- Editor invocation: ./infile 25 [-- Editor invocation: ./infile
...@@ -51,8 +51,8 @@ Subject: ...@@ -51,8 +51,8 @@ Subject:
51 What now?]) 51 What now?])
52 52
53 MH_CHECK([comp file],[comp02 comp_file],[ 53 MH_CHECK([comp file],[comp02 comp_file],[
54 echo 'quit' | compcmd file | remove_curdir 54 echo 'quit' | compcmd file | remove_curdir | sed 's/ *$//'
55 cat Mail/file 55 sed 's/ *$//' Mail/file
56 ], 56 ],
57 [0], 57 [0],
58 [-- Editor invocation: Mail/file 58 [-- Editor invocation: Mail/file
...@@ -78,8 +78,8 @@ Subject: test input ...@@ -78,8 +78,8 @@ Subject: test input
78 message body 78 message body
79 ]) 79 ])
80 80
81 echo 'quit' | compcmd -use file | remove_curdir 81 echo 'quit' | compcmd -use file | remove_curdir | sed 's/ *$//'
82 cat Mail/file 82 sed 's/ *$//' Mail/file
83 ], 83 ],
84 [0], 84 [0],
85 [-- Editor invocation: Mail/file 85 [-- Editor invocation: Mail/file
...@@ -108,11 +108,11 @@ Subject: test input ...@@ -108,11 +108,11 @@ Subject: test input
108 message body 108 message body
109 ]) 109 ])
110 110
111 echo 'quit' | compcmd +inbox 1 | remove_curdir 111 echo 'quit' | compcmd +inbox 1 | remove_curdir | sed 's/ *$//'
112 echo Mail/draft 112 echo Mail/draft
113 cat Mail/draft 113 sed 's/ *$//' Mail/draft
114 echo Message 114 echo Message
115 cat Mail/inbox/1 115 sed 's/ *$//' Mail/inbox/1
116 ], 116 ],
117 [0], 117 [0],
118 [-- Editor invocation: Mail/draft 118 [-- Editor invocation: Mail/draft
...@@ -141,8 +141,8 @@ message body ...@@ -141,8 +141,8 @@ message body
141 141
142 MH_CHECK([comp -draftfolder],[comp05 comp-draftfolder draftfolder],[ 142 MH_CHECK([comp -draftfolder],[comp05 comp-draftfolder draftfolder],[
143 mkdir Mail/drafts 143 mkdir Mail/drafts
144 echo 'quit' | compcmd -draftfolder drafts | remove_curdir 144 echo 'quit' | compcmd -draftfolder drafts | remove_curdir | sed 's/ *$//'
145 cat Mail/drafts/1 145 sed 's/ *$//' Mail/drafts/1
146 ], 146 ],
147 [0], 147 [0],
148 [-- Editor invocation: Mail/drafts/1 148 [-- Editor invocation: Mail/drafts/1
...@@ -170,8 +170,8 @@ message body ...@@ -170,8 +170,8 @@ message body
170 ]) 170 ])
171 echo "cur: 1" > Mail/drafts/.mh_sequences 171 echo "cur: 1" > Mail/drafts/.mh_sequences
172 172
173 echo 'quit' | compcmd -draftfolder drafts -use| remove_curdir 173 echo 'quit' | compcmd -draftfolder drafts -use| remove_curdir | sed 's/ *$//'
174 cat Mail/drafts/1 174 sed 's/ *$//' Mail/drafts/1
175 ], 175 ],
176 [0], 176 [0],
177 [-- Editor invocation: Mail/drafts/1 177 [-- Editor invocation: Mail/drafts/1
......