]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-cte-binary
Removed "tmp" from the uip/mh* programs, so that they no longer
[nmh] / test / mhshow / test-cte-binary
index e2d39f87d35a4d1b171efee22c38085b74e70417..9c31a657f06b59a888f558a8c02ef8c065efcf17 100755 (executable)
@@ -17,8 +17,8 @@ expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 # Write message with Content-Transfer-Encoding: binary text.
-msgfile=$(mhpath new)
-msgnum=$(basename $msgfile)
+msgfile=`mhpath new`
+msgnum=`basename $msgfile`
 cat > $msgfile <<EOF
 Content-Transfer-Encoding: binary
 To: bar@example.edu
@@ -46,5 +46,8 @@ Content-Disposition: inline
 part       text/plain                  34
 This is a test; this is the body.
 EOF
-mhshow -nopause $msgnum > $actual 2>&1
-diff -u $expected $actual
+run_prog mhshow -nopause $msgnum > $actual 2>&1
+check "$expected" "$actual"
+
+exit $failed
+