Smoketester should also run with OpenJDK to be able to run on FreeBSD

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1371623 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Uwe Schindler 2012-08-10 09:24:51 +00:00
parent 562f65020c
commit d5212c9ae2
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def javaExe(version):
def verifyJavaVersion(version):
s = os.popen('%s; java -version 2>&1' % javaExe(version)).read()
if s.find('java version "%s.' % version) == -1:
if s.find(' version "%s.' % version) == -1:
raise RuntimeError('got wrong version for java %s:\n%s' % (version, s))
# http://s.apache.org/lusolr32rc2