tests: Adjusted most of the tests to mmh.
[mmh] / test / tests / show / test-qp
similarity index 93%
rename from test/tests/mhshow/test-qp
rename to test/tests/show/test-qp
index 74d70ee..f702379 100644 (file)
@@ -11,7 +11,7 @@ expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 # Write message with bogus quoted-printable data.
-msgfile=$(mhpath new)
+msgfile=$(mhpath b)
 msgnum=$(basename $msgfile)
 cat > $msgfile <<EOF
 From: foo@example.edu
@@ -39,12 +39,10 @@ EOF
 # check it
 cat > $expected <<EOF
 Date:    Sun, 18 Dec 2005 00:52:39 +0100
-To:      bar@example.edu
 From:    foo@example.edu
+To:      bar@example.edu
 Subject: test
 
-MIME-Version: 1.0
-
 part       text/plain                 181
 =
 =
@@ -59,5 +57,5 @@ just a newline
 =l
 =\b ^H (backspace) character, probably erased = in diff output
 EOF
-mhshow $msgnum > $actual 2>&1
+show $msgnum > $actual 2>&1
 diff -u $expected $actual