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/profile-tests.sh | |
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/profile-tests.sh')
-rwxr-xr-x | tests/profile-tests.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/profile-tests.sh b/tests/profile-tests.sh index 71295fd5a6..3c50a1628a 100755 --- a/tests/profile-tests.sh +++ b/tests/profile-tests.sh @@ -22,9 +22,9 @@ # This program tests whether the profile keywords work as expected -srcdir="${srcdir:-.}" -SERV="${SERV:-../src/gnutls-serv${EXEEXT}}" -CLI="${CLI:-../src/gnutls-cli${EXEEXT}}" +: ${srcdir=.} +: ${SERV=../src/gnutls-serv${EXEEXT}} +: ${CLI=../src/gnutls-cli${EXEEXT}} TMPFILE=config.$$.tmp export GNUTLS_SYSTEM_PRIORITY_FAIL_ON_INVALID=1 |