summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2018-09-21 16:31:58 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2018-09-24 12:51:24 +0200
commitfefb3b43e52c4b1946d4e26ac3e9780252c02383 (patch)
tree0a4f130fb70dd6f2304b84732a7e9bc2c640638a
parent02042c35ea9d7b211a3b43449e9825bbbf96b568 (diff)
downloadgnutls-tmp-enable-tls13.tar.gz
tests: pkcs12-utf8 depend on bashtmp-enable-tls13
The NetBSD default shell cannot handle the UTF-8 strings we use in that script. Resolves #544 Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
-rwxr-xr-xtests/cert-tests/pkcs12-utf85
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/cert-tests/pkcs12-utf8 b/tests/cert-tests/pkcs12-utf8
index 1d70e95656..1842136eaa 100755
--- a/tests/cert-tests/pkcs12-utf8
+++ b/tests/cert-tests/pkcs12-utf8
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/usr/bin/env bash
# Copyright (C) 2016 Red Hat, Inc.
# Inc.
@@ -22,7 +22,8 @@
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
# This test cannot run under windows because it passes UTF8 data on command
-# line. This seems not to work under windows.
+# line. This seems not to work under windows. It intentionally depends on
+# bash as few other shells cannot handle utf8 strings
srcdir="${srcdir:-.}"
CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"