mirror of https://github.com/apache/lucene.git
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:
parent
562f65020c
commit
d5212c9ae2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue