X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/9383ac2311caa190a93fd6694c6c82390cabf044..248c3a452003bc95088d9a1c4dec988696be2d7d:/test/slocal/test-slocal?ds=sidebyside diff --git a/test/slocal/test-slocal b/test/slocal/test-slocal index 394e1559..8eaa2255 100755 --- a/test/slocal/test-slocal +++ b/test/slocal/test-slocal @@ -19,6 +19,8 @@ setup_test # Use proper program, maybe not the first one on PATH. slocal="$MH_LIBEXEC_DIR"/slocal +check_exit '-eq 1' $slocal - + expected="$MH_TEST_DIR"/$$.expected actual="$MH_TEST_DIR"/$$.actual actual2="$MH_TEST_DIR"/$$.actual2 @@ -43,7 +45,7 @@ Usage: slocal [switches] EOF #### Skip nmh intro text. -run_prog $slocal -help | sed '/^$/,$d' >"$actual" 2>&1 +run_prog $slocal -help 2>&1 | sed '/^$/,$d' >"$actual" check "$expected" "$actual" # check -version