testname="${MH_TEST_DIR}/$$"
-arith_eval 64001 + `id -u` % 1000
+arith_eval 64001 + $$ % 1000
http_port=${arith_val}
-arith_eval 64000 + `id -u` % 1000
+arith_eval ${http_port} + 1
pop_port=${arith_val}
-arith_eval 64002 + `id -u` % 1000
+arith_eval ${pop_port} + 1
smtp_port=${arith_val}
cat >> ${MH} <<EOF
}
test_send_no_servers() {
- run_test "send -draft -server 127.0.0.1 -port ${smtp_port} -saslmech xoauth2 -authservice test -user nobody@example.com" "$@"
+ run_test "send -draft -server 127.0.0.1 -port ${smtp_port} -sasl -saslmech xoauth2 -authservice test -user nobody@example.com" "$@"
}
test_send_only_fakesmtp() {