summaryrefslogtreecommitdiff
path: root/tests/tpmtool_test.sh
diff options
context:
space:
mode:
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."