summaryrefslogtreecommitdiff
path: root/tests/certtool-pkcs11.sh
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/certtool-pkcs11.sh
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/certtool-pkcs11.sh')
-rwxr-xr-xtests/certtool-pkcs11.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/certtool-pkcs11.sh b/tests/certtool-pkcs11.sh
index daba535a4d..0964da536b 100755
--- a/tests/certtool-pkcs11.sh
+++ b/tests/certtool-pkcs11.sh
@@ -18,12 +18,12 @@
# along with GnuTLS; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-srcdir="${srcdir:-.}"
-P11TOOL="${P11TOOL:-../src/p11tool${EXEEXT}}"
-CERTTOOL="${CERTTOOL:-../src/certtool${EXEEXT}}"
-DIFF="${DIFF:-diff -b -B}"
-SERV="${SERV:-../src/gnutls-serv${EXEEXT}}"
-CLI="${CLI:-../src/gnutls-cli${EXEEXT}}"
+: ${srcdir=.}
+: ${P11TOOL=../src/p11tool${EXEEXT}}
+: ${CERTTOOL=../src/certtool${EXEEXT}}
+: ${DIFF=diff -b -B}
+: ${SERV=../src/gnutls-serv${EXEEXT}}
+: ${CLI=../src/gnutls-cli${EXEEXT}}
RETCODE=0
if ! test -x "${P11TOOL}"; then