X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/95ac3bee0d4794b3ce6aa523582b186eaed04388..30dd408d502b42e46d59cfc89af5f7aa07f8c1ff:/test/dist/test-dist diff --git a/test/dist/test-dist b/test/dist/test-dist index 19ba6406..2f1e4f3e 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 's/^<\(.*\)>$/\1/'` +localmbox=`${MH_LIBEXEC_DIR}/ap -format "%(localmbox)" 0 | sed 's/^<\(.*\)>$/\1/'` #### Use sendmail/pipe below to override default mts. mts_fakesendmail="${MHMTSCONF}-fakesendmail" @@ -366,7 +366,7 @@ This is message number 1 EOF test_dist 1 -noedit -to somebody@example.com -fcc outbox -run_test 'scan +outbox -width 6' ' 1 ' +run_test 'scan +outbox -width 6' ' 1 ' cat >"$expected" < @@ -382,13 +382,14 @@ This is message number 1 EOF test_dist +inbox 1 -noedit -to somebody@example.com -fcc +outbox -run_test 'scan +outbox -width 6 2' ' 2 ' +run_test 'scan +outbox -width 6 2' ' 2 ' # # Check that dist encodes headers using RFC-2047 properly # -export LC_ALL=en_US.UTF-8 +require_locale en_US.utf-8 en_US.utf8 +LC_ALL=en_US.UTF-8; export LC_ALL cat >"$expected" <