]> diplodocus.org Git - nmh/blobdiff - test/post/test-rfc6531
mhshow: Avoid SEGV when user's command has two or fewer words.
[nmh] / test / post / test-rfc6531
index 817388dab9ea6f56c2b22267b83219718add954a..beb393cc424329601c62ea07c4c357f36e04a49e 100755 (executable)
@@ -115,7 +115,7 @@ Rebuild message with 7-bit headers, WITHOUT -headerencoding utf-8.
 post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
 send: message not delivered to anyone
 EOF
 post: problem initializing server; [BHST] ready; I'll buy that for a dollar!
 send: message not delivered to anyone
 EOF
-mv -f "${MH_TEST_DIR}/Mail/,draft" "${MH_TEST_DIR}/Mail/draft"
+mv -f "${MH_TEST_DIR}/Mail/`mhparam sbackup`draft" "${MH_TEST_DIR}/Mail/draft"
 
 set +e
 test_post "${testname}.actual" "${testname}.expected" 2>"${testname}.err"
 
 set +e
 test_post "${testname}.actual" "${testname}.expected" 2>"${testname}.err"