if [ "$argstyle" = 'new' ]; then
(cd "$MH_TEST_DIR" &&
- sendfiles "$@" -to recipient@example.com -subject "sendfiles test" \
- "$testfile" >/dev/null 2>&1)
+ run_prog sendfiles "$@" -to recipient@example.com \
+ -subject "sendfiles test" "$testfile" >/dev/null 2>&1)
elif [ "$argstyle" = 'old' ]; then
(cd "$MH_TEST_DIR" &&
- sendfiles "$@" recipient@example.com "sendfiles test" \
+ run_prog sendfiles "$@" recipient@example.com "sendfiles test" \
"$testfile" >/dev/null 2>&1)
fi
Can use PERSON environment variable instead of -from switch.
EOF
-sendfiles -help >"$actual" 2>&1
+run_prog sendfiles -help >"$actual" 2>&1
check "$expected" "$actual"
# check -version