summaryrefslogtreecommitdiff
path: root/mh/tests/repl.at
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2010-11-26 17:03:56 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2010-11-26 17:03:56 +0200
commit1ae763d4ecb847ea17dbaf97565af58dae832d02 (patch)
tree3be46d3f39f06fe70c0c6fa0b9cf411a62ca9d43 /mh/tests/repl.at
parent7dcee33a0ee8923108dbdfa024d1c7bc1e7d2800 (diff)
downloadmailutils-1ae763d4ecb847ea17dbaf97565af58dae832d02.tar.gz
mailutils-1ae763d4ecb847ea17dbaf97565af58dae832d02.tar.bz2
mh: further improvements in mnh & mh testsuite.
* mh/mhn.c (_mhn_profile_get): Try mhn-<prefix>-<type> if mhn-<prefix>-<type>/<subtype> does not exist. (normalize_path): Use mu_normalize_path. (store_handler) <store_to_file>: Honor mhn-<prefix>, if set. * tests/atlocal.in (remove_curdir): New function. * mh/tests/mhn.at: Implement more -store tests. * mh/tests/testsuite.at (MH_SETUP): Set curdir for use by other testcases. * mh/tests/comp.at: Use remove_curdir to sort out the cwd. * mh/tests/forw.at: Likewise. * mh/tests/mark.at: Likewise. * mh/tests/mhpath.at: Likewise. * mh/tests/repl.at: Likewise.
Diffstat (limited to 'mh/tests/repl.at')
-rw-r--r--mh/tests/repl.at6
1 files changed, 3 insertions, 3 deletions
diff --git a/mh/tests/repl.at b/mh/tests/repl.at
index 2df8e6b94..81a7bd29e 100644
--- a/mh/tests/repl.at
+++ b/mh/tests/repl.at
@@ -26,7 +26,7 @@ Subject: test input
message body
])
-echo "quit" | replcmd +inbox 1 | sed "s|$dir/*||;s| *$||"
+echo "quit" | replcmd +inbox 1 | remove_curdir
echo == Mail/draft ==
cat Mail/draft
],
@@ -56,7 +56,7 @@ Subject: test input
message body
])
-echo "quit" | replcmd -draftfolder drafts +inbox 1 | sed "s|$dir/*||;s| *$||"
+echo "quit" | replcmd -draftfolder drafts +inbox 1 | remove_curdir
echo == Mail/drafts/1 ==
cat Mail/drafts/1
],
@@ -79,4 +79,4 @@ Seen by mhed
m4_popdef([replcmd])
m4_popdef([MH_KEYWORDS])
-# End of repl.at \ No newline at end of file
+# End of repl.at

Return to:

Send suggestions and report system problems to the System administrator.