summaryrefslogtreecommitdiff
path: root/test/partest
diff options
context:
space:
mode:
Diffstat (limited to 'test/partest')
-rwxr-xr-xtest/partest3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/partest b/test/partest
index 16513c1791..bf6643f918 100755
--- a/test/partest
+++ b/test/partest
@@ -125,6 +125,9 @@ if [ ! -z "${PARTEST_DEBUG}" ] ; then
partestDebugStr="-Dpartest.debug=${PARTEST_DEBUG}"
fi
+# note that variables which may intentionally be empty must not
+# be quoted: otherwise an empty string will appear as a command line
+# argument, and java will think that is the program to run.
"${JAVACMD:=java}" \
$JAVA_OPTS -cp "$EXT_CLASSPATH" \
${partestDebugStr} \