]> diplodocus.org Git - nmh/blobdiff - test/oauth/common.sh
icalparse.y: Remove else-block that returns by merging if-conditions.
[nmh] / test / oauth / common.sh
index d2ac2a27156610681e992447f21ee8f953f49ee3..342e5786367e045e1e990d58ad6ccb54b2f6bfac 100644 (file)
@@ -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} <<EOF