Run tests on OpenJDK 21
This commit is contained in:
parent
5cf9b6d352
commit
f48a2e607d
@ -1,3 +1,3 @@
|
||||
summary: Lujavrite smoke test
|
||||
description: Test basic functionality of Lujavrite.
|
||||
require: java-17-openjdk-headless
|
||||
require: java-21-openjdk-headless
|
||||
|
@ -6,15 +6,15 @@ rlJournalStart
|
||||
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm lujavrite
|
||||
rlAssertRpm java-17-openjdk-headless
|
||||
export JAVA_HOME=/usr/lib/jvm/jre-17-openjdk
|
||||
rlAssertRpm java-21-openjdk-headless
|
||||
export JAVA_HOME=/usr/lib/jvm/jre-21-openjdk
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlAssertExists "${JAVA_HOME}"
|
||||
rlAssertExists "${JAVA_HOME}/lib/server/libjvm.so"
|
||||
rlRun -s "lua smoke.lua"
|
||||
rlAssertGrep "Java version is 17" $rlRun_LOG
|
||||
rlAssertGrep "Java version is 21" $rlRun_LOG
|
||||
rlAssertGrep "foo is bar" $rlRun_LOG
|
||||
rlAssertGrep "nil in Lua is null in Java" $rlRun_LOG
|
||||
rlPhaseEnd
|
||||
|
Loading…
Reference in New Issue
Block a user