pick matching rework
[mmh] / test / tests / pick / test-encoded-body
diff --git a/test/tests/pick/test-encoded-body b/test/tests/pick/test-encoded-body
new file mode 100644 (file)
index 0000000..cfcac61
--- /dev/null
@@ -0,0 +1,40 @@
+#!/bin/sh
+######################################################
+#
+# Test pick -search with encoded body
+#
+######################################################
+
+. "$MH_TEST_COMMON"
+
+test_skip "not implemented yet"
+exit
+
+require_locale en_US.utf-8 en_US.utf8
+LC_ALL=en_US.UTF-8
+export LC_ALL
+
+cat > $msgfile <<EOF
+To: recipient@example.com
+From: sender@example.com
+Subject: test encoded body
+MIME-Version: 1.0
+Content-Type: text/plain; charset="UTF-8"
+Content-Transfer-Encoding: quoted-printable
+
+Sehr geehrte Damen und Herren
+
+Feuer! Feuer! Feuer! Dies ist keine =C3=BCbung.
+
+123 Carenden Road
+
+Ich freue mich auf ihre Antwort
+
+Mit freundlichen Gr=C3=BC=C3=9Fen
+Maurice Moss
+EOF
+lm=$(pick l)
+
+runandcheck 'pick -search übung' <<!
+$lm
+!