]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-cte-binary
Adjust the quoted-printable output routine to continue when the end of
[nmh] / test / mhshow / test-cte-binary
index b53f1e0ad90535d1e59cc88661cf5f0384caeb2c..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,7 +46,7 @@ Content-Disposition: inline
 part       text/plain                  34
 This is a test; this is the body.
 EOF
-mhshow -nopause $msgnum > $actual 2>&1
+run_prog mhshow -nopause $msgnum > $actual 2>&1
 check "$expected" "$actual"
 
 exit $failed