diff options
Diffstat (limited to 'mh/tests/comp.at')
-rw-r--r-- | mh/tests/comp.at | 34 |
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 @@ -16,13 +16,13 @@ AT_BANNER(comp) m4_pushdef([MH_KEYWORDS],[comp]) m4_pushdef([compcmd],[comp -editor $abs_top_srcdir/mh/tests/mhed]) MH_CHECK([comp -file],[comp00 comp-file],[ -echo quit | compcmd -file ./infile | remove_curdir | sed 's/ *$//' +echo quit | compcmd -file $HOME/infile | cwdrepl | sed 's/ *$//' sed 's/ *$//' infile ], [0], [-- Editor invocation: ./infile -- Input file: To: @@ -36,13 +36,13 @@ cc: Subject: -------- Seen by mhed ]) MH_CHECK([comp -file (del)],[comp01 comp-file_del],[ -echo 'quit -delete' | compcmd -file ./infile | remove_curdir +echo 'quit -delete' | compcmd -file $HOME/infile | cwdrepl | sed 's/ *$//' ], [0], [-- Editor invocation: ./infile -- Input file: To: cc: @@ -50,24 +50,24 @@ Subject: -------- -- Input file end What now? ]) MH_CHECK([comp file],[comp02 comp_file],[ -echo 'quit' | compcmd file | remove_curdir | sed 's/ *$//' +echo 'quit' | compcmd file | cwdrepl | sed 's/ *$//' sed 's/ *$//' Mail/file ], [0], -[-- Editor invocation: Mail/file +[-- Editor invocation: ./Mail/file -- Input file: To: cc: Subject: -------- -- Input file end -What now? draft left on "Mail/file". +What now? draft left on "./Mail/file". To: cc: Subject: -------- Seen by mhed ]) @@ -77,25 +77,25 @@ AT_DATA([Mail/file],[From: gray To: root Subject: test input message body ]) -echo 'quit' | compcmd -use file | remove_curdir | sed 's/ *$//' +echo 'quit' | compcmd -use file | cwdrepl | sed 's/ *$//' sed 's/ *$//' Mail/file ], [0], -[-- Editor invocation: Mail/file +[-- Editor invocation: ./Mail/file -- Input file: From: gray To: root Subject: test input message body -- Input file end -What now? draft left on "Mail/file". +What now? draft left on "./Mail/file". From: gray To: root Subject: test input message body Seen by mhed @@ -107,28 +107,28 @@ AT_DATA([Mail/inbox/1],[From: gray To: root Subject: test input message body ]) -echo 'quit' | compcmd +inbox 1 | remove_curdir | sed 's/ *$//' +echo 'quit' | compcmd +inbox 1 | cwdrepl | sed 's/ *$//' echo Mail/draft sed 's/ *$//' Mail/draft echo Message sed 's/ *$//' Mail/inbox/1 ], [0], -[-- Editor invocation: Mail/draft +[-- Editor invocation: ./Mail/draft -- Input file: From: gray To: root Subject: test input message body -- Input file end -What now? draft left on "Mail/draft". +What now? draft left on "./Mail/draft". Mail/draft From: gray To: root Subject: test input message body @@ -140,24 +140,24 @@ Subject: test input message body ]) MH_CHECK([comp -draftfolder],[comp05 comp-draftfolder draftfolder],[ mkdir Mail/drafts -echo 'quit' | compcmd -draftfolder drafts | remove_curdir | sed 's/ *$//' +echo 'quit' | compcmd -draftfolder drafts | cwdrepl | sed 's/ *$//' sed 's/ *$//' Mail/drafts/1 ], [0], -[-- Editor invocation: Mail/drafts/1 +[-- Editor invocation: ./Mail/drafts/1 -- Input file: To: cc: Subject: -------- -- Input file end -What now? draft left on "Mail/drafts/1". +What now? draft left on "./Mail/drafts/1". To: cc: Subject: -------- Seen by mhed ]) @@ -169,25 +169,25 @@ To: root Subject: test input message body ]) echo "cur: 1" > Mail/drafts/.mh_sequences -echo 'quit' | compcmd -draftfolder drafts -use| remove_curdir | sed 's/ *$//' +echo 'quit' | compcmd -draftfolder drafts -use| cwdrepl | sed 's/ *$//' sed 's/ *$//' Mail/drafts/1 ], [0], -[-- Editor invocation: Mail/drafts/1 +[-- Editor invocation: ./Mail/drafts/1 -- Input file: From: gray To: root Subject: test input message body -- Input file end -What now? draft left on "Mail/drafts/1". +What now? draft left on "./Mail/drafts/1". From: gray To: root Subject: test input message body Seen by mhed |