X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/c6bf562d9e823f02fb4a9e6dfb89bf93a0e9d0ab..4a78cbcd4fa986d9c1e7bd0a5a4bdb619faeb7cb:/test/mhshow/test-subpart diff --git a/test/mhshow/test-subpart b/test/mhshow/test-subpart index c2a7262c..0d152bb3 100755 --- a/test/mhshow/test-subpart +++ b/test/mhshow/test-subpart @@ -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 < $actual 2>&1 +run_prog mhshow -part 1.1 -form mhl.null -nopause $msgnum > $actual 2>&1 check "$expected" "$actual" exit $failed