X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b3ddd4955956689eebef0015f5a615c3942e2ec3..be1d2e63515e0c76862aa6b18da09c62428e4156:/test/common.sh.in?ds=sidebyside diff --git a/test/common.sh.in b/test/common.sh.in index d0a4586c..f7624ca8 100644 --- a/test/common.sh.in +++ b/test/common.sh.in @@ -167,13 +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" - #### test-slocal needs to look at the original mts.conf, so save it. - mv -f "${MHMTSCONF}" "${MHMTSCONF}.old" - mv -f "${MHMTSCONF}.new" "${MHMTSCONF}" + "${MHMTSCONF}.old" >"${MHMTSCONF}" fi # clean old test data