X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/fa462ef71fbaf819397c59b2c07adf45a04af9f8..f19250c0b7739e928eb9e869ef04ea9fb61488c7:/test/mhpath/test-mhpath diff --git a/test/mhpath/test-mhpath b/test/mhpath/test-mhpath index a4b621b7..cf2ab5d7 100755 --- a/test/mhpath/test-mhpath +++ b/test/mhpath/test-mhpath @@ -28,8 +28,9 @@ Usage: mhpath [+folder] [msgs] [switches] -help EOF -run_prog mhpath -help > $actual 2>&1 -check $expected $actual +#### Skip nmh intro text. +run_prog mhpath -help | sed '/^$/Q' >"$actual" 2>&1 +check "$expected" "$actual" # check -version case `mhpath -v` in