diff options
author | Daiki Ueno <ueno@gnu.org> | 2020-09-23 09:09:45 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2020-09-25 10:53:34 +0200 |
commit | 1fff6592f0ca98d0ea7799f92c12f66eae5b569c (patch) | |
tree | f82d6792b32c0a071d97d80faab8ce7027feefc4 /tests/ocsp-tests/ocsp-load-chain | |
parent | 1925d9bfe3bcd59109e0bfbb8651081f86fa413c (diff) | |
download | gnutls-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/ocsp-tests/ocsp-load-chain')
-rwxr-xr-x | tests/ocsp-tests/ocsp-load-chain | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ocsp-tests/ocsp-load-chain b/tests/ocsp-tests/ocsp-load-chain index 0822bc3d99..33cc020fcb 100755 --- a/tests/ocsp-tests/ocsp-load-chain +++ b/tests/ocsp-tests/ocsp-load-chain @@ -19,9 +19,9 @@ #set -e -srcdir="${srcdir:-.}" -OCSPTOOL="${OCSPTOOL:-../src/ocsptool${EXEEXT}}" -DIFF="${DIFF:-diff}" +: ${srcdir=.} +: ${OCSPTOOL=../src/ocsptool${EXEEXT}} +: ${DIFF=diff} if ! test -x "${OCSPTOOL}"; then exit 77 |