From: David Levine Date: Tue, 19 Jun 2012 02:30:58 +0000 (-0500) Subject: Added mention of checkbashims script to test/README. And fixed X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=f064e80eac20967124b9dfc154d24a58de74b623;p=mmh Added mention of checkbashims script to test/README. And fixed false positive that it reported for test-mhmail. --- diff --git a/test/README b/test/README index 1ac904f..7bf605b 100644 --- a/test/README +++ b/test/README @@ -70,3 +70,7 @@ in the test scripts. In particular: - Avoid depending on the exact format of output from system (non-nmh) programs. + +checkbashisms, available at http://sourceforge.net/projects/checkbaskisms/, +might help some catch problems. Though it misses all of the troublesome +constructs, except for assignment in an export statement, listed above. diff --git a/test/post/test-mhmail b/test/post/test-mhmail index 5cabc1a..422c647 100755 --- a/test/post/test-mhmail +++ b/test/post/test-mhmail @@ -614,7 +614,7 @@ From: sender@localhost Date: Resent-Date: -please resend this message, #1 +please resend this message, 1 . QUIT EOF @@ -624,7 +624,7 @@ test_mhmail "$expected" '-from orig_recipient@example.com -resent' \ From: sender@localhost Date: Sat Jun 16 18:35:15 -0500 -please resend this message, #1' +please resend this message, 1' [ ${failed:-0} -eq 0 ] || exit ${failed:-0} @@ -642,7 +642,7 @@ Resent-To: recipient@example.com Resent-From: orig_recipient@example.com Resent-Date: -please resend this message, #2 +please resend this message, 2 . QUIT EOF @@ -653,7 +653,7 @@ test_mhmail "$expected" \ From: sender@localhost Date: Sat Jun 16 18:35:15 -0500 -please resend this message, #2' +please resend this message, 2' [ ${failed:-0} -eq 0 ] || exit ${failed:-0} @@ -672,7 +672,7 @@ Resent-To: recipient@example.com Resent-From: orig_recipient@example.com Resent-Date: -please resend this message, #3 +please resend this message, 3 . QUIT EOF @@ -683,7 +683,7 @@ test_mhmail "$expected" \ From: sender@localhost Date: Sat Jun 16 18:35:15 -0500 -please resend this message, #3' +please resend this message, 3' [ ${failed:-0} -eq 0 ] || exit ${failed:-0}