X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/47b86722957cca6057bf5fcd07c9d1f01b4516f8..0813132987677a8b0cf3b4d0e8bf851657deeadd:/test/mhfixmsg/test-mhfixmsg?ds=sidebyside diff --git a/test/mhfixmsg/test-mhfixmsg b/test/mhfixmsg/test-mhfixmsg index c2070c51..e37b56a3 100755 --- a/test/mhfixmsg/test-mhfixmsg +++ b/test/mhfixmsg/test-mhfixmsg @@ -1727,7 +1727,7 @@ check "`mhpath last`" "$actual" 'keep first' start_test "pass through message with relative folder path with parse error" #### Factor out leading portion of current folder path and make it relative. -pwd=`pwd` +pwd=`pwd -P` set +e run_prog mhfixmsg +./`mhpath | sed "s%^$pwd/%%"` last -out - >"$actual" 2>/dev/null set -e