From: David Levine Date: Wed, 9 Apr 2014 21:32:56 +0000 (-0500) Subject: The size reported by mhshow test-charset is different with and X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/6e947201b6ff99371295c3b84b69066cba91549e?ds=sidebyside;hp=--cc The size reported by mhshow test-charset is different with and without iconv, so determine it at runtime. --- 6e947201b6ff99371295c3b84b69066cba91549e diff --git a/test/mhshow/test-charset b/test/mhshow/test-charset index 0f3a53ca..efcab90c 100755 --- a/test/mhshow/test-charset +++ b/test/mhshow/test-charset @@ -18,6 +18,8 @@ setup_test LC_ALL=en_US.UTF-8; export LC_ALL +test "$ICONV_ENABLED" -eq 0 && text_size=10 || text_size=11 + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -46,7 +48,7 @@ Subject: test MIME-Version: 1.0 -part text/plain 11 +part text/plain $text_size This is a test EOF