From a35869649c469959c9b8e49b055268ae46f2b246 Mon Sep 17 00:00:00 2001 From: David Levine Date: Wed, 26 Dec 2012 14:03:20 -0600 Subject: [PATCH] Tweaked last commit to test/common.sh.in to eliminate a mv. --- test/common.sh.in | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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 -- 2.56.0