X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b15f35a73878825d1824a710982d6769ece9b6cb..b3df58528443af8b4f25748bef8ca98852af9ba2:/test/common.sh.in diff --git a/test/common.sh.in b/test/common.sh.in index dd68f774..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