X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/607852926ae652a129301569a0eced9dddd466c0..062e39670628eff46e197006ec3db9a6ac015f57:/test/mhpath/test-mhpath diff --git a/test/mhpath/test-mhpath b/test/mhpath/test-mhpath index b92e85e5..c6521ce3 100755 --- a/test/mhpath/test-mhpath +++ b/test/mhpath/test-mhpath @@ -16,6 +16,8 @@ fi setup_test +check_exit '-eq 1' mhpath - + expected=$MH_TEST_DIR/$$.expected actual=$MH_TEST_DIR/$$.actual @@ -29,7 +31,7 @@ Usage: mhpath [+folder] [msgs] [switches] EOF #### Skip nmh intro text. -run_prog mhpath -help | sed '/^$/,$d' >"$actual" 2>&1 +run_prog mhpath -help 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version