X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/b9e0388a118e84f002ae0da6c7a31bdbd89a73bb..9779a9db4316e2348eb120c716acc41e6b12a849:/test/oauth/common.sh diff --git a/test/oauth/common.sh b/test/oauth/common.sh index e0fdb2a8..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} < "$f".notime + sed 's/^\(expire.*:\).*/\1/' "$f" > "$f".notime check "$f".notime "${MHTMPDIR}/$$.expected-creds" rm "$f" }