]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
tests: use /bin/bash in tests which require common.sh
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 20 May 2016 15:44:46 +0000 (17:44 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Fri, 20 May 2016 15:45:25 +0000 (17:45 +0200)
tests/danetool.sh
tests/scripts/common.sh
tests/suite/eagain.sh
tests/suite/testcompat-main-openssl
tests/suite/testcompat-main-polarssl
tests/suite/testdane.sh
tests/suite/testpkcs11.sh
tests/suite/testrng.sh
tests/suite/testsrn.sh

index be4445d93ed8afb7ea8bd1b5956c56d48ab31eb3..4b5f5b74cdf43d7bce5adefbeca610b4567fcb16 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2016 Red Hat, Inc.
 #
index ec8c7c3c4ff524baf6154bb8f523409c43350b35..9c9c3fb3aa1c9e36479ac77f846305903f4d02c1 100644 (file)
@@ -1,4 +1,5 @@
-# Copyright (C) 2011-2012 Free Software Foundation, Inc.
+# Copyright (C) 2011-2016 Free Software Foundation, Inc.
+# Copyright (C) 2015-2016 Red Hat, Inc.
 #
 # This file is part of GnuTLS.
 #
@@ -18,6 +19,7 @@
 # along with this file; if not, write to the Free Software Foundation,
 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
 
+# due to the use of $RANDOM, this script requires bash
 
 GETPORT='rc=0;while test $rc = 0;do PORT="$(((($$<<15)|RANDOM) % 63001 + 2000))";
        netstat -anl|grep "[\:\.]$PORT" >/dev/null 2>&1;
index c9c526ac82e6d07e8868581ce9b322770ca28b31..1663e7e85b2da2e39b80fd855d49153bd78c7afb 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2006-2008, 2010, 2012 Free Software Foundation, Inc.
 #
index d6b53e0a26b55a1a9bbf3b8fb0f22c94af8d9cea..6933c9c780451c67edbee7ffd9ec0e11a66b33ad 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (c) 2010-2016, Free Software Foundation, Inc.
 # Copyright (c) 2012-2016, Nikos Mavrogiannopoulos
index 0286cb0d6362c81e00de83d55da8c21516f4f8c8..8513f68b8c89785543022cccac8468da70b01038 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (c) 2010-2015, Free Software Foundation, Inc.
 # Copyright (c) 2012-2015, Nikos Mavrogiannopoulos
index c2408ec7ffa7fcd205d5853c6340f0c678329f94..98dd238c650e02b8483b3cdcfe576ee96e615e78 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2013 Nikos Mavrogiannopoulos
 #
index 09c494dd65a925463a6abf282e48fbc2ec7dc668..f4e1db315d0ba969dd362d94eddd5faf135077bc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2013 Nikos Mavrogiannopoulos
 #
index c45c9300ebabe54178f7dd3bb5e4669f0a6c0287..fabd4eea2fe4e66269ce84a5e14cf9755809b471 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2014 Nikos Mavrogiannopoulos
 #
index 1c6bfc3191cacb8e6ccc86577c599d90ee8fddda..446a988282a9928aa952aad937a7ccb0b12fbc05 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
 
 # Copyright (C) 2010-2012 Free Software Foundation, Inc.
 #