summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs12-utf8
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-10-03 16:42:07 +0000
committerDaiki Ueno <ueno@gnu.org>2020-10-03 16:42:07 +0000
commit6f034aa2e9f140626de2b9413715651dffe9e394 (patch)
tree0a594b8b65bddc9303e1fd6dcc80807e3a79e602 /tests/cert-tests/pkcs12-utf8
parent12a3bb06a19c78607e9f2a0a59c2e71f43a22b8b (diff)
parent2c1d544c5d9ad12afec09cc6ede40aa8f4693fd2 (diff)
downloadgnutls-6f034aa2e9f140626de2b9413715651dffe9e394.tar.gz
Merge branch 'tmp-sh-tests' into 'master'
tests: simplify shell-script usage See merge request gnutls/gnutls!1337
Diffstat (limited to 'tests/cert-tests/pkcs12-utf8')
-rwxr-xr-xtests/cert-tests/pkcs12-utf86
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cert-tests/pkcs12-utf8 b/tests/cert-tests/pkcs12-utf8
index ace10ca181..168e7c5126 100755
--- a/tests/cert-tests/pkcs12-utf8
+++ b/tests/cert-tests/pkcs12-utf8
@@ -25,8 +25,8 @@
# 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}}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool${EXEEXT}}
if ! test -x "${CERTTOOL}"; then
exit 77
@@ -36,7 +36,7 @@ if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=1"
fi
-DIFF="${DIFF:-diff}"
+: ${DIFF=diff}
DEBUG=""
TMPFILE=pkcs12-utf8.$$.tmp