diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-09 11:49:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2016-04-09 11:49:07 +0200 |
commit | 40f64cbbb91fc51f947721babf6f1b1e3f7850d3 (patch) | |
tree | ae53c6041cc21b4bc4f2ab9d9b390eae9e65b2be /tests | |
parent | 803e94ae8c882acfe2bab023b8009c8bbea7ebf8 (diff) | |
download | gnutls-40f64cbbb91fc51f947721babf6f1b1e3f7850d3.tar.gz |
tests: removed unused scripts
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/suite/testcompat-openssl | 62 | ||||
-rwxr-xr-x | tests/suite/testcompat-polarssl | 56 |
2 files changed, 0 insertions, 118 deletions
diff --git a/tests/suite/testcompat-openssl b/tests/suite/testcompat-openssl deleted file mode 100755 index 76731fca00..0000000000 --- a/tests/suite/testcompat-openssl +++ /dev/null @@ -1,62 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2010-2015, Free Software Foundation, Inc. -# Copyright (c) 2012-2015, Nikos Mavrogiannopoulos -# All rights reserved. -# -# Author: Nikos Mavrogiannopoulos -# -# This file is part of GnuTLS. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation and/or -# other materials provided with the distribution. -# 3. Neither the name of the copyright holder nor the names of its contributors may -# be used to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -# SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY -# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -srcdir="${srcdir:-.}" - -if ! test -x /usr/bin/openssl; then - echo "You need openssl to run this test" - exit 77 -fi - -/usr/bin/openssl version|grep fips >/dev/null 2>&1 -if test $? = 0; then - export FIPS=1 -else - export FIPS=0 -fi - -export TZ="UTC" - -# Check for datefudge -TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null` -if test "${TSTAMP}" != "1158969600"; then - echo "You need datefudge to run this test" - exit 77 -fi - -timeout 3600 datefudge "2012-09-2" "${srcdir}/testcompat-main-openssl" -ret=$? -if test $ret = 124;then - exit 77 -fi - -exit $ret diff --git a/tests/suite/testcompat-polarssl b/tests/suite/testcompat-polarssl deleted file mode 100755 index 6980fe82e2..0000000000 --- a/tests/suite/testcompat-polarssl +++ /dev/null @@ -1,56 +0,0 @@ -#!/bin/sh - -# Copyright (c) 2010-2015, Free Software Foundation, Inc. -# Copyright (c) 2012-2015, Nikos Mavrogiannopoulos -# All rights reserved. -# -# Author: Nikos Mavrogiannopoulos -# -# This file is part of GnuTLS. -# -# Redistribution and use in source and binary forms, with or without modification, -# are permitted provided that the following conditions are met: -# -# 1. Redistributions of source code must retain the above copyright notice, this -# list of conditions and the following disclaimer. -# 2. Redistributions in binary form must reproduce the above copyright notice, -# this list of conditions and the following disclaimer in the documentation and/or -# other materials provided with the distribution. -# 3. Neither the name of the copyright holder nor the names of its contributors may -# be used to endorse or promote products derived from this software without specific -# prior written permission. -# -# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY -# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES -# OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT -# SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED -# TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR -# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY -# WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -srcdir="${srcdir:-.}" - -export TZ="UTC" - -# Check for datefudge -TSTAMP=`datefudge "2006-09-23 00:00 UTC" date -u +%s 2>/dev/null` -if test "${TSTAMP}" != "1158969600"; then - echo "You need datefudge to run this test" - exit 77 -fi - -cat /proc/cpuinfo|grep "model name"|grep "VIA Esther" >/dev/null 2>&1 -if test $? = 0; then - echo "PolarSSL is broken on VIA processors" - exit 77 -fi - -timeout 3600 datefudge "2012-09-2" "${srcdir}/testcompat-main-polarssl" -ret=$? -if test $ret = 124;then - exit 77 -fi - -exit $ret |