]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-charset
Merge remote-tracking branch 'origin/convertargs'
[nmh] / test / mhshow / test-charset
index c41e51276cd8bbcf3303fc1d9604e08c6f3fa8eb..6c3c763a263252291ac5bada32dc70a07a849caf 100755 (executable)
@@ -16,6 +16,7 @@ fi
 
 setup_test
 
+require_locale en_US.utf-8 en_US.utf8
 LC_ALL=en_US.UTF-8; export LC_ALL
 
 test "$ICONV_ENABLED" -eq 0  &&  text_size=10  || text_size=11
@@ -42,6 +43,7 @@ Date: Sun, 18 Dec 2005 00:52:39 +0100
 EOF
 
 cat > $expected <<EOF
+[ Message inbox:11 ]
 Date:    Sun, 18 Dec 2005 00:52:39 +0100
 To:      bar@example.edu
 From:    foo@example.edu
@@ -55,6 +57,6 @@ This is a test
 EOF
 
 run_prog mhshow $msgnum > $actual 2>&1
-check "$expected" "$actual"
+check "$expected" "$actual" : bogus quoted-printable data
 
 exit $failed