]> diplodocus.org Git - nmh/blobdiff - test/rcv/test-rcvtty
New locations for config files and support binaries, and smarter default for install...
[nmh] / test / rcv / test-rcvtty
index 1d0fea8cdc0244f87d22c37850a01f983a4dda8c..f0e6558f02bd44f74ad74aaec3383ab6dc4917e0 100755 (executable)
@@ -17,7 +17,7 @@ fi
 setup_test
 
 # Use proper program, likely not the first one on PATH.
-rcvtty="${MH_LIB_DIR}/rcvtty"
+rcvtty="${MH_LIBEXEC_DIR}/rcvtty"
 
 expected="$MH_TEST_DIR/$$.expected"
 actual="$MH_TEST_DIR/$$.actual"
@@ -37,7 +37,7 @@ Usage: rcvtty [command ...]
   -help
 EOF
 
-$rcvtty -help >"$actual" 2>&1
+run_prog $rcvtty -help >"$actual" 2>&1
 check "$expected" "$actual"
 
 # check -version
@@ -54,7 +54,7 @@ esac
 # any of their ttys.
 cat >"$expected" <<EOF
 EOF
-$rcvtty <${MH_TEST_DIR}/Mail/inbox/1 -biff >"$actual" 2>&1
+run_prog $rcvtty <${MH_TEST_DIR}/Mail/inbox/1 -biff >"$actual" 2>&1
 check "$expected" "$actual"