summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs7-constraints
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-09-23 09:09:45 +0200
committerDaiki Ueno <ueno@gnu.org>2020-09-25 10:53:34 +0200
commit1fff6592f0ca98d0ea7799f92c12f66eae5b569c (patch)
treef82d6792b32c0a071d97d80faab8ce7027feefc4 /tests/cert-tests/pkcs7-constraints
parent1925d9bfe3bcd59109e0bfbb8651081f86fa413c (diff)
downloadgnutls-1fff6592f0ca98d0ea7799f92c12f66eae5b569c.tar.gz
tests: use ": ${FOO=BAR}" syntax for default handling in shell scripts
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'tests/cert-tests/pkcs7-constraints')
-rwxr-xr-xtests/cert-tests/pkcs7-constraints6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cert-tests/pkcs7-constraints b/tests/cert-tests/pkcs7-constraints
index 6964d26f09..150c103443 100755
--- a/tests/cert-tests/pkcs7-constraints
+++ b/tests/cert-tests/pkcs7-constraints
@@ -20,9 +20,9 @@
#set -e
-srcdir="${srcdir:-.}"
-CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
-DIFF="${DIFF:-diff -b -B}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool${EXEEXT}}
+: ${DIFF=diff -b -B}
if ! test -x "${CERTTOOL}"; then
exit 77