From: David Levine Date: Sun, 30 Jun 2013 22:50:44 +0000 (-0500) Subject: Fixed removal of <> in test-dist and test-rcvdist. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/abbd6450510ebf4a68c726b5a455dfcfb6fe2aa6?ds=inline;hp=-c Fixed removal of <> in test-dist and test-rcvdist. --- abbd6450510ebf4a68c726b5a455dfcfb6fe2aa6 diff --git a/test/dist/test-dist b/test/dist/test-dist index 190aeeb0..ca6a70b1 100755 --- a/test/dist/test-dist +++ b/test/dist/test-dist @@ -20,7 +20,7 @@ expected=$MH_TEST_DIR/$$.expected expected_err=$MH_TEST_DIR/$$.expected_err actual=$MH_TEST_DIR/$$.actual actual_err=$MH_TEST_DIR/$$.actual_err -localmbox=`${MH_LIB_DIR}/ap -format "%(localmbox)" 0 | sed -e 's/^$//;'` +localmbox=`${MH_LIB_DIR}/ap -format "%(localmbox)" 0 | sed 's/^<\(.*\)>$/\1/'` #### Use sendmail/pipe below to override default mts. mts_fakesendmail="${MHMTSCONF}-fakesendmail" diff --git a/test/rcv/test-rcvdist b/test/rcv/test-rcvdist index b686a12c..5e34615e 100755 --- a/test/rcv/test-rcvdist +++ b/test/rcv/test-rcvdist @@ -82,7 +82,7 @@ Date: Fri, 29 Sep 2006 00:00:00 Message-Id: 1@test.nmh Subject: Testing message 1 Resent-From: `${MH_LIB_DIR}/ap -format '%(localmbox)' 0 | \ - sed -e 's/^$//;'` + sed 's/^<\(.*\)>$/\1/'` Resent-To: recipient@example.com Resent-Date: