]> diplodocus.org Git - nmh/commitdiff
That didnt work, so skip Encoded parameter value test on that buildbot.
authorDavid Levine <levinedl@acm.org>
Fri, 9 Dec 2016 01:18:14 +0000 (20:18 -0500)
committerDavid Levine <levinedl@acm.org>
Fri, 9 Dec 2016 01:18:14 +0000 (20:18 -0500)
test/mhshow/test-charset

index 7c3dc13..86729a6 100755 (executable)
@@ -82,7 +82,7 @@ From: foo@example.edu
 To: bar@example.edu
 Subject: test
 MIME-Version: 1.0
-Content-Type: text/plain; charset*=EBCDIC-UK''%e4%e3%c6%60%f8
+Content-Type: text/plain; charset*=EBCDIC-US''%e4%e3%c6%60%f8
 Content-Transfer-Encoding: quoted-printable
 Content-Description: bogus quoted-printable data
 Date: Sun, 18 Dec 2005 00:52:39 +0100
@@ -104,8 +104,15 @@ Content-Description: bogus quoted-printable data
 4 รท 2 = 2
 EOF
 
-run_prog mhshow $msgnum > $actual 2>&1
-check "$expected" "$actual" : encoded parameter value
+if test "$ICONV_ENABLED" -eq 1; then
+  if iconv -l | grep EBCDIC-US >/dev/null; then
+    #### For unknown reasons, this test fails on the FreeBSD10
+    #### buildbot.  It doesn't support EBCDIC-US, so skip it
+    #### on that bot.
+    run_prog mhshow $msgnum > $actual 2>&1
+    check "$expected" "$actual" : encoded parameter value
+  fi
+fi
 
 
 start_test 'replacement character in parameter value'