X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/90986dddba4b24b0449238f86f836581cfb93938..b3df58528443af8b4f25748bef8ca98852af9ba2:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index a25409b8..f7624ca8 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -167,11 +167,12 @@ setup_test () #### so that we use fakesmtp. #### And set up the maildrop in the test directory so tests don't #### use the user's real maildrop. + #### test-slocal needs to look at the original mts.conf, so save it. + mv -f "${MHMTSCONF}" "${MHMTSCONF}.old" sed -e 's/mts: *.*/mts: smtp/' \ -e "s%mmdfldir: *.*%mmdfldir: ${MH_TEST_DIR}/Mail%" \ -e 's%mmdflfil: *.*%mmdflfil: maildrop%' \ - "${MHMTSCONF}" >"${MHMTSCONF}.new" - mv -f "${MHMTSCONF}.new" "${MHMTSCONF}" + "${MHMTSCONF}.old" >"${MHMTSCONF}" fi # clean old test data @@ -207,6 +208,7 @@ EOF From: Test$i To: Some User Date: Fri, 29 Sep 2006 00:00:00 +Message-Id: $i@test.nmh Subject: Testing message $i This is message number $i