summaryrefslogtreecommitdiff
path: root/tests/slow
diff options
context:
space:
mode:
Diffstat (limited to 'tests/slow')
-rwxr-xr-xtests/slow/test-ciphers-api.sh2
-rw-r--r--tests/slow/test-ciphers-common.sh2
-rwxr-xr-xtests/slow/test-ciphers-openssl.sh2
-rwxr-xr-xtests/slow/test-ciphers.sh2
-rwxr-xr-xtests/slow/test-hash-large.sh2
5 files changed, 5 insertions, 5 deletions
diff --git a/tests/slow/test-ciphers-api.sh b/tests/slow/test-ciphers-api.sh
index d591496be1..814f5cc024 100755
--- a/tests/slow/test-ciphers-api.sh
+++ b/tests/slow/test-ciphers-api.sh
@@ -19,7 +19,7 @@
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
PROG=./cipher-api-test${EXEEXT}
. "${srcdir}/test-ciphers-common.sh"
diff --git a/tests/slow/test-ciphers-common.sh b/tests/slow/test-ciphers-common.sh
index 1a76b48ce0..b1a238671a 100644
--- a/tests/slow/test-ciphers-common.sh
+++ b/tests/slow/test-ciphers-common.sh
@@ -23,7 +23,7 @@ if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
. "${srcdir}/../scripts/common.sh"
${PROG}
diff --git a/tests/slow/test-ciphers-openssl.sh b/tests/slow/test-ciphers-openssl.sh
index b025fcc600..dc8fb60edc 100755
--- a/tests/slow/test-ciphers-openssl.sh
+++ b/tests/slow/test-ciphers-openssl.sh
@@ -20,7 +20,7 @@
# along with GnuTLS; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
PROG=./cipher-openssl-compat${EXEEXT}
. "${srcdir}/test-ciphers-common.sh"
diff --git a/tests/slow/test-ciphers.sh b/tests/slow/test-ciphers.sh
index abc020be6b..b4bc41151a 100755
--- a/tests/slow/test-ciphers.sh
+++ b/tests/slow/test-ciphers.sh
@@ -20,7 +20,7 @@
# along with GnuTLS; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
PROG=./cipher-test${EXEEXT}
. "${srcdir}/test-ciphers-common.sh"
diff --git a/tests/slow/test-hash-large.sh b/tests/slow/test-hash-large.sh
index 754232ec2c..359a15ff72 100755
--- a/tests/slow/test-hash-large.sh
+++ b/tests/slow/test-hash-large.sh
@@ -27,7 +27,7 @@ if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND}"
fi
-srcdir="${srcdir:-.}"
+: ${srcdir=.}
. "${srcdir}/../scripts/common.sh"
run_test() {