To allow tests to run when the local hostname doesn't resolve.
host=`${MH_OBJ_DIR}/test/getcanon`
host=`${MH_OBJ_DIR}/test/getcanon`
run_test "${MH_LIBEXEC_DIR}/ap -format %(myhost) ignore" "$host" \
"local hostname test"
run_test "${MH_LIBEXEC_DIR}/ap -format %(myhost) ignore" "$host" \
"local hostname test"
#### suite, or the user's login name. ap will escape (quote) it if
#### needed.
user=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(me)' 0`
#### suite, or the user's login name. ap will escape (quote) it if
#### needed.
user=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(me)' 0`
host=`${MH_OBJ_DIR}/test/getcanon`
host=`${MH_OBJ_DIR}/test/getcanon`
output=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${user}"`
run_test "echo $output" 1 "Basic user test"
output=`run_prog ${MH_LIBEXEC_DIR}/ap -format '%(mymbox{text})' "${user}"`
run_test "echo $output" 1 "Basic user test"