tests: Adjusted most of the tests to mmh.
[mmh] / test / tests / show / test-cte-binary
similarity index 85%
rename from test/tests/mhshow/test-cte-binary
rename to test/tests/show/test-cte-binary
index 53a772a..07609b5 100644 (file)
@@ -9,7 +9,7 @@ expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 # Write message with Content-Transfer-Encoding: binary text.
-msgfile=$(mhpath new)
+msgfile=$(mhpath b)
 msgnum=$(basename $msgfile)
 cat > $msgfile <<EOF
 Content-Transfer-Encoding: binary
@@ -27,16 +27,13 @@ EOF
 
 # check it
 cat > $expected <<EOF
-Date:    Tue, 05 Mar 2002 18:20:35 GMT
-To:      bar@example.edu
+Date:    Tue, 05 Mar 2002 18:20:35 +0000
 From:    foo@example.edu
+To:      bar@example.edu
 Subject: test
 
-MIME-Version: 1.0
-Content-Disposition: inline
-
 part       text/plain                  34
 This is a test; this is the body.
 EOF
-mhshow $msgnum > $actual 2>&1
+show $msgnum > $actual 2>&1
 diff -u $expected $actual