From f064e80eac20967124b9dfc154d24a58de74b623 Mon Sep 17 00:00:00 2001 From: David Levine Date: Mon, 18 Jun 2012 21:30:58 -0500 Subject: [PATCH] Added mention of checkbashims script to test/README. And fixed false positive that it reported for test-mhmail. --- test/README | 4 ++++ test/post/test-mhmail | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) 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} -- 1.7.10.4