]> diplodocus.org Git - nmh/blobdiff - test/slocal/test-slocal
Removed obsolete spec for default password with -sasl for POP.
[nmh] / test / slocal / test-slocal
index 6468de517f5670bd45ea0c1b9a3e090ef6bc6122..8eaa2255e264e69e8bba338a6d924f145d529eff 100755 (executable)
@@ -19,7 +19,7 @@ setup_test
 # Use proper program, maybe not the first one on PATH.
 slocal="$MH_LIBEXEC_DIR"/slocal
 
 # Use proper program, maybe not the first one on PATH.
 slocal="$MH_LIBEXEC_DIR"/slocal
 
-$slocal - >/dev/null 2>&1 || true  # gcov
+check_exit '-eq 1' $slocal -
 
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
 
 expected="$MH_TEST_DIR"/$$.expected
 actual="$MH_TEST_DIR"/$$.actual
@@ -45,7 +45,7 @@ Usage: slocal [switches]
 EOF
 
 #### Skip nmh intro text.
 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
 check "$expected" "$actual"
 
 # check -version