summaryrefslogtreecommitdiff
path: root/tests/suite/test-ciphersuite-names.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/suite/test-ciphersuite-names.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/suite/test-ciphersuite-names.sh')
-rwxr-xr-xtests/suite/test-ciphersuite-names.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/test-ciphersuite-names.sh b/tests/suite/test-ciphersuite-names.sh
index a00fa482de..a5c66099d9 100755
--- a/tests/suite/test-ciphersuite-names.sh
+++ b/tests/suite/test-ciphersuite-names.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-srcdir="${srcdir:-.}"
-top_builddir="${top_builddir:-../..}"
+: ${srcdir=.}
+: ${top_builddir=../..}
nodejs --help >/dev/null 2>&1
if test $? = 0; then