diff --git a/tests/smoke/main.fmf b/tests/smoke/main.fmf index 1f8a6d4..e04064d 100644 --- a/tests/smoke/main.fmf +++ b/tests/smoke/main.fmf @@ -1,3 +1,3 @@ summary: Lujavrite smoke test description: Test basic functionality of Lujavrite. -require: java-17-openjdk-headless +require: java-21-openjdk-headless diff --git a/tests/smoke/runtest.sh b/tests/smoke/runtest.sh index b8f57ed..058f4d6 100755 --- a/tests/smoke/runtest.sh +++ b/tests/smoke/runtest.sh @@ -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