X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1d08c1e0c0de0d321883ece1c36bce851fe893c7..ef1ba39e8dae81091b6c3e73e72825ef6edea3c6:/test/oauth/common.sh diff --git a/test/oauth/common.sh b/test/oauth/common.sh index d2ac2a27..342e5786 100644 --- a/test/oauth/common.sh +++ b/test/oauth/common.sh @@ -10,13 +10,13 @@ fi 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} <