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/cert-tests/dane | |
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/cert-tests/dane')
-rwxr-xr-x | tests/cert-tests/dane | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/cert-tests/dane b/tests/cert-tests/dane index 66a1f30817..9398c73dcc 100755 --- a/tests/cert-tests/dane +++ b/tests/cert-tests/dane @@ -22,9 +22,9 @@ set -e -srcdir="${srcdir:-.}" -DANETOOL="${DANETOOL:-../../src/danetool${EXEEXT}}" -DIFF="${DIFF:-diff}" +: ${srcdir=.} +: ${DANETOOL=../../src/danetool${EXEEXT}} +: ${DIFF=diff} test -e "${DANETOOL}" || exit 77 |