diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-06-14 13:41:24 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-06-14 13:52:18 +0200 |
commit | 8a023663393e19cd78f2c059f8b7400749b61b4c (patch) | |
tree | 067b576a2044deace67370e21ee7f64f90c2227a /tests/scripts | |
parent | 91648b502c41875adab539932e4be8a1dcb24fd5 (diff) | |
download | gnutls-8a023663393e19cd78f2c059f8b7400749b61b4c.tar.gz |
tests: common.sh will export the required TZ for datefudge tests
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;' |