summaryrefslogtreecommitdiff
path: root/tests/tpmtool_test.sh
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2020-10-03 16:42:07 +0000
committerDaiki Ueno <ueno@gnu.org>2020-10-03 16:42:07 +0000
commit6f034aa2e9f140626de2b9413715651dffe9e394 (patch)
tree0a594b8b65bddc9303e1fd6dcc80807e3a79e602 /tests/tpmtool_test.sh
parent12a3bb06a19c78607e9f2a0a59c2e71f43a22b8b (diff)
parent2c1d544c5d9ad12afec09cc6ede40aa8f4693fd2 (diff)
downloadgnutls-6f034aa2e9f140626de2b9413715651dffe9e394.tar.gz
Merge branch 'tmp-sh-tests' into 'master'
tests: simplify shell-script usage See merge request gnutls/gnutls!1337
Diffstat (limited to 'tests/tpmtool_test.sh')
-rwxr-xr-xtests/tpmtool_test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/tpmtool_test.sh b/tests/tpmtool_test.sh
index c6e4bc42ef..eba502612a 100755
--- a/tests/tpmtool_test.sh
+++ b/tests/tpmtool_test.sh
@@ -20,9 +20,9 @@
# 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}}"
-TPMTOOL="${TPMTOOL:-../src/tpmtool${EXEEXT}}"
+: ${srcdir=.}
+: ${CERTTOOL=../src/certtool${EXEEXT}}
+: ${TPMTOOL=../src/tpmtool${EXEEXT}}
if [ "$(id -u)" -ne 0 ]; then
echo "Need to be root to run this test."