]> diplodocus.org Git - nmh/blobdiff - test/mhshow/test-subpart
Sigh. Fix up missing conversion from clear->ti_clear.
[nmh] / test / mhshow / test-subpart
index c2a7262c6527debcb51b59a2afed30f0233bfe45..0d152bb3d208608616d80c68d8d8575c62ec704f 100755 (executable)
@@ -21,8 +21,8 @@ expected=$MH_TEST_DIR/$$.expected
 actual=$MH_TEST_DIR/$$.actual
 
 # Write message with a text/plain subpart.
-msgfile=$(mhpath new)
-msgnum=$(basename $msgfile)
+msgfile=`mhpath new`
+msgnum=`basename $msgfile`
 cat > $msgfile <<EOF
 MIME-Version: 1.0
 Content-Type: multipart/mixed; boundary="NextPart_001"
@@ -56,7 +56,7 @@ This is the text/plain part.
 EOF
 
 # check it
-mhshow -part 1.1 -form mhl.null -nopause $msgnum > $actual 2>&1
+run_prog mhshow -part 1.1 -form mhl.null -nopause $msgnum > $actual 2>&1
 check "$expected" "$actual"
 
 exit $failed