From: David Levine Date: Thu, 12 Jan 2017 01:53:41 +0000 (-0500) Subject: Rearranged check for whether to skip param value checks so X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/77fff244ad1bb1e746c78bedc87659400e2c6535?ds=inline;hp=7f357461f724aa54dc8b3ca172503a07ddc9d15c Rearranged check for whether to skip param value checks so that no files are left over. Update of commit 2cf4ff9dd2fba77c7f98bbd706b00d2e79a11a3b. --- diff --git a/test/mhshow/test-charset b/test/mhshow/test-charset old mode 100755 new mode 100644 index 106d7dbd..0b381e11 --- a/test/mhshow/test-charset +++ b/test/mhshow/test-charset @@ -82,6 +82,12 @@ run_prog mhshow $msgnum > $actual 2>&1 check "$expected" "$actual" : locale profile component +if test $skip_param_value_checks -eq 1; then + finish_test + exit $failed +fi + + start_test 'Encoded parameter value' msgfile=`mhpath new` msgnum=`basename $msgfile` @@ -115,10 +121,8 @@ Content-Description: bogus quoted-printable data 4 ÷ 2 = 2 EOF -if test $skip_param_value_checks -eq 0; then - run_prog mhshow $msgnum > $actual 2>&1 - check "$expected" "$actual" : encoded parameter value -fi +run_prog mhshow $msgnum > $actual 2>&1 +check "$expected" "$actual" : encoded parameter value start_test 'replacement character in parameter value' @@ -139,10 +143,8 @@ MIME-Version: 1.0 [ part - text/plain - 0B ] EOF -if test $skip_param_value_checks -eq 0; then - run_prog mhshow $msgnum > $actual 2>&1 - check "$expected" "$actual" -fi +run_prog mhshow $msgnum > $actual 2>&1 +check "$expected" "$actual" finish_test