summaryrefslogtreecommitdiff
path: root/mh/tests/comp.at
diff options
context:
space:
mode:
Diffstat (limited to 'mh/tests/comp.at')
-rw-r--r--mh/tests/comp.at34
1 files changed, 17 insertions, 17 deletions
diff --git a/mh/tests/comp.at b/mh/tests/comp.at
index a8d4a4129..563310cca 100644
--- a/mh/tests/comp.at
+++ b/mh/tests/comp.at
@@ -19,7 +19,7 @@ m4_pushdef([MH_KEYWORDS],[comp])
19m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed]) 19m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed])
20 20
21MH_CHECK([comp -file],[comp00 comp-file],[ 21MH_CHECK([comp -file],[comp00 comp-file],[
22echo quit | compcmd -file ./infile | remove_curdir | sed 's/ *$//' 22echo quit | compcmd -file $HOME/infile | cwdrepl | sed 's/ *$//'
23sed 's/ *$//' infile 23sed 's/ *$//' infile
24], 24],
25[0], 25[0],
@@ -39,7 +39,7 @@ Seen by mhed
39]) 39])
40 40
41MH_CHECK([comp -file (del)],[comp01 comp-file_del],[ 41MH_CHECK([comp -file (del)],[comp01 comp-file_del],[
42echo 'quit -delete' | compcmd -file ./infile | remove_curdir 42echo 'quit -delete' | compcmd -file $HOME/infile | cwdrepl | sed 's/ *$//'
43], 43],
44[0], 44[0],
45[-- Editor invocation: ./infile 45[-- Editor invocation: ./infile
@@ -53,18 +53,18 @@ What now?
53]) 53])
54 54
55MH_CHECK([comp file],[comp02 comp_file],[ 55MH_CHECK([comp file],[comp02 comp_file],[
56echo 'quit' | compcmd file | remove_curdir | sed 's/ *$//' 56echo 'quit' | compcmd file | cwdrepl | sed 's/ *$//'
57sed 's/ *$//' Mail/file 57sed 's/ *$//' Mail/file
58], 58],
59[0], 59[0],
60[-- Editor invocation: Mail/file 60[-- Editor invocation: ./Mail/file
61-- Input file: 61-- Input file:
62To: 62To:
63cc: 63cc:
64Subject: 64Subject:
65-------- 65--------
66-- Input file end 66-- Input file end
67What now? draft left on "Mail/file". 67What now? draft left on "./Mail/file".
68To: 68To:
69cc: 69cc:
70Subject: 70Subject:
@@ -80,11 +80,11 @@ Subject: test input
80message body 80message body
81]) 81])
82 82
83echo 'quit' | compcmd -use file | remove_curdir | sed 's/ *$//' 83echo 'quit' | compcmd -use file | cwdrepl | sed 's/ *$//'
84sed 's/ *$//' Mail/file 84sed 's/ *$//' Mail/file
85], 85],
86[0], 86[0],
87[-- Editor invocation: Mail/file 87[-- Editor invocation: ./Mail/file
88-- Input file: 88-- Input file:
89From: gray 89From: gray
90To: root 90To: root
@@ -92,7 +92,7 @@ Subject: test input
92 92
93message body 93message body
94-- Input file end 94-- Input file end
95What now? draft left on "Mail/file". 95What now? draft left on "./Mail/file".
96From: gray 96From: gray
97To: root 97To: root
98Subject: test input 98Subject: test input
@@ -110,14 +110,14 @@ Subject: test input
110message body 110message body
111]) 111])
112 112
113echo 'quit' | compcmd +inbox 1 | remove_curdir | sed 's/ *$//' 113echo 'quit' | compcmd +inbox 1 | cwdrepl | sed 's/ *$//'
114echo Mail/draft 114echo Mail/draft
115sed 's/ *$//' Mail/draft 115sed 's/ *$//' Mail/draft
116echo Message 116echo Message
117sed 's/ *$//' Mail/inbox/1 117sed 's/ *$//' Mail/inbox/1
118], 118],
119[0], 119[0],
120[-- Editor invocation: Mail/draft 120[-- Editor invocation: ./Mail/draft
121-- Input file: 121-- Input file:
122From: gray 122From: gray
123To: root 123To: root
@@ -125,7 +125,7 @@ Subject: test input
125 125
126message body 126message body
127-- Input file end 127-- Input file end
128What now? draft left on "Mail/draft". 128What now? draft left on "./Mail/draft".
129Mail/draft 129Mail/draft
130From: gray 130From: gray
131To: root 131To: root
@@ -143,18 +143,18 @@ message body
143 143
144MH_CHECK([comp -draftfolder],[comp05 comp-draftfolder draftfolder],[ 144MH_CHECK([comp -draftfolder],[comp05 comp-draftfolder draftfolder],[
145mkdir Mail/drafts 145mkdir Mail/drafts
146echo 'quit' | compcmd -draftfolder drafts | remove_curdir | sed 's/ *$//' 146echo 'quit' | compcmd -draftfolder drafts | cwdrepl | sed 's/ *$//'
147sed 's/ *$//' Mail/drafts/1 147sed 's/ *$//' Mail/drafts/1
148], 148],
149[0], 149[0],
150[-- Editor invocation: Mail/drafts/1 150[-- Editor invocation: ./Mail/drafts/1
151-- Input file: 151-- Input file:
152To: 152To:
153cc: 153cc:
154Subject: 154Subject:
155-------- 155--------
156-- Input file end 156-- Input file end
157What now? draft left on "Mail/drafts/1". 157What now? draft left on "./Mail/drafts/1".
158To: 158To:
159cc: 159cc:
160Subject: 160Subject:
@@ -172,11 +172,11 @@ message body
172]) 172])
173echo "cur: 1" > Mail/drafts/.mh_sequences 173echo "cur: 1" > Mail/drafts/.mh_sequences
174 174
175echo 'quit' | compcmd -draftfolder drafts -use| remove_curdir | sed 's/ *$//' 175echo 'quit' | compcmd -draftfolder drafts -use| cwdrepl | sed 's/ *$//'
176sed 's/ *$//' Mail/drafts/1 176sed 's/ *$//' Mail/drafts/1
177], 177],
178[0], 178[0],
179[-- Editor invocation: Mail/drafts/1 179[-- Editor invocation: ./Mail/drafts/1
180-- Input file: 180-- Input file:
181From: gray 181From: gray
182To: root 182To: root
@@ -184,7 +184,7 @@ Subject: test input
184 184
185message body 185message body
186-- Input file end 186-- Input file end
187What now? draft left on "Mail/drafts/1". 187What now? draft left on "./Mail/drafts/1".
188From: gray 188From: gray
189To: root 189To: root
190Subject: test input 190Subject: test input

Return to:

Send suggestions and report system problems to the System administrator.