diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-24 06:51:14 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-24 07:57:31 +0200 |
commit | e9bf3a2364e05de8dab0d6f8885c4bf72004b9df (patch) | |
tree | e1b10ee836a83ad5d2acd331ba38a81fb6cde024 /tests/scripts | |
parent | d986f7042c798bd52e5dc46e0ba7ca9481a6532d (diff) | |
download | gnutls-e9bf3a2364e05de8dab0d6f8885c4bf72004b9df.tar.gz |
.gitlab-ci.yml: updated x86 CI builds with better datefudge detection
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'tests/scripts')
-rw-r--r-- | tests/scripts/common.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/scripts/common.sh b/tests/scripts/common.sh index 8662d93cf1..35ac52e5a6 100644 --- a/tests/scripts/common.sh +++ b/tests/scripts/common.sh @@ -67,6 +67,12 @@ GETPORT='rc=0; myrandom=$(date +%N | sed s/^0*//) ' check_for_datefudge() { + # On certain platforms running datefudge date fails (e.g., x86 datefudge + # with x86-64 date app). + if test ${SKIP_DATEFUDGE_CHECK} = 1;then + return + fi + TSTAMP=`datefudge -s "2006-09-23" date -u +%s || true` if test "$TSTAMP" != "1158969600" || test "$WINDOWS" = 1; then echo $TSTAMP |