summaryrefslogtreecommitdiff
path: root/tests/cert-tests/pkcs12-encode
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/pkcs12-encode
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/pkcs12-encode')
-rwxr-xr-xtests/cert-tests/pkcs12-encode6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cert-tests/pkcs12-encode b/tests/cert-tests/pkcs12-encode
index 265c0df542..2f719f3044 100755
--- a/tests/cert-tests/pkcs12-encode
+++ b/tests/cert-tests/pkcs12-encode
@@ -21,8 +21,8 @@
# along with GnuTLS; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-srcdir="${srcdir:-.}"
-CERTTOOL="${CERTTOOL:-../../src/certtool${EXEEXT}}"
+: ${srcdir=.}
+: ${CERTTOOL=../../src/certtool${EXEEXT}}
if ! test -x "${CERTTOOL}"; then
exit 77
@@ -37,7 +37,7 @@ if ! test -z "${VALGRIND}"; then
VALGRIND="${LIBTOOL:-libtool} --mode=execute ${VALGRIND} --error-exitcode=1"
fi
-DIFF="${DIFF:-diff -b -B}"
+: ${DIFF=diff -b -B}
DEBUG=""
TMPFILE=pkcs12.$$.tmp