X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/d5e78944632398a4e31bca0c43cb4df3b30b1640..ae9db48d6adafe3a10e6d125ff4720495cc76ee2:/test/scan/test-scan-multibyte?ds=sidebyside diff --git a/test/scan/test-scan-multibyte b/test/scan/test-scan-multibyte index 819c34c0..2650d124 100755 --- a/test/scan/test-scan-multibyte +++ b/test/scan/test-scan-multibyte @@ -75,11 +75,11 @@ check "$expected" "$actual" # # Check decoding with an invalid multibyte sequence. We skip this test # if we don't have iconv support, since it requires converting from one -# character set to another +# character set to another. Be sure we created the test file, though, because +# it's required for the test right after it. # -if test "$ICONV_ENABLED" -eq 1; then - cat >`mhpath new` <`mhpath new` < To: Some User Date: Mon, 31 Dec 2012 00:00:00 @@ -91,10 +91,11 @@ This message has an encoded Subject with an invalid character for the ISO-8859-1 character set, but it (U+2019) is valid UTF-8. EOF - cat >"$expected" <"$expected" <"$actual" check "$expected" "$actual" fi