From: David Levine Date: Sun, 30 Jun 2013 21:44:23 +0000 (-0500) Subject: Remove any <> surrounding localmbox in test-dist and test-rcvdist, X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/7219cad5c27edb3ebf63b5354508a66a95bc02d6?ds=inline;hp=-c Remove any <> surrounding localmbox in test-dist and test-rcvdist, so that the tests pass when the user doesn't have a SIGNATURE set. --- 7219cad5c27edb3ebf63b5354508a66a95bc02d6 diff --git a/test/dist/test-dist b/test/dist/test-dist index c96ed1af..190aeeb0 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` +localmbox=`${MH_LIB_DIR}/ap -format "%(localmbox)" 0 | sed -e 's/^$//;'` #### 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 311cdc9c..b686a12c 100755 --- a/test/rcv/test-rcvdist +++ b/test/rcv/test-rcvdist @@ -75,14 +75,14 @@ test_rcvdist () } # check with address - cat > "$expected" < To: Some User 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` +Resent-From: `${MH_LIB_DIR}/ap -format '%(localmbox)' 0 | \ + sed -e 's/^$//;'` Resent-To: recipient@example.com Resent-Date: