diff options
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/common.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scripts/common.sh b/tests/scripts/common.sh index 46f9598032..8e82660155 100644 --- a/tests/scripts/common.sh +++ b/tests/scripts/common.sh @@ -21,6 +21,8 @@ # due to the use of $RANDOM, this script requires bash +export TZ="UTC" + GETPORT='rc=0;while test $rc = 0;do PORT="$(((($$<<15)|RANDOM) % 63001 + 2000))"; netstat -anl|grep "[\:\.]$PORT" >/dev/null 2>&1; rc=$?;done;' |