]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: common.sh will export the required TZ for datefudge tests
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 14 Jun 2016 11:41:24 +0000 (13:41 +0200)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 14 Jun 2016 11:52:18 +0000 (13:52 +0200)
tests/scripts/common.sh

index 46f9598032fffb382f41cd9d1c685d1b6cf6a764..8e8266015529164d3cacdbca7e8addb204598a4a 100644 (file)
@@ -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;'