X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/aaf70a50e13231ba06df17d79147ac0d7fed6d91..9779a9db4316e2348eb120c716acc41e6b12a849:/test/oauth/common.sh?ds=sidebyside diff --git a/test/oauth/common.sh b/test/oauth/common.sh index 3f3dc598..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" }