From d7d9ff56fcd4d803799657a5b46d0022e9837e1d Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Fri, 1 Feb 2013 14:06:49 -0500 Subject: [PATCH] Make sure we created the test file even if we don't have iconv support; it's needed for two tests. --- test/scan/test-scan-multibyte | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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 -- 2.56.0