X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/f81046da683a14b2265a501f0de00df264a77413..0e593b90e45687680b8ea9eb6c7643b44abde0fb:/test/mhfixmsg/test-mhfixmsg 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