From ad6e268da5c6241f812c7fdb92d49fb4075b3634 Mon Sep 17 00:00:00 2001 From: Pablo Greco Date: Jan 02 2019 11:01:28 +0000 Subject: Select the right java version before testing --- diff --git a/tests/p_java-1.6.0-openjdk/10-test_java.sh b/tests/p_java-1.6.0-openjdk/10-test_java.sh index 526428e..a1c6e6f 100755 --- a/tests/p_java-1.6.0-openjdk/10-test_java.sh +++ b/tests/p_java-1.6.0-openjdk/10-test_java.sh @@ -9,6 +9,10 @@ fi t_Log "Running $0 - javac can compile and java can print 'hello centos'" +# selecting the right alternative +t_Select_Alternative java jre-1.6.0-openjdk +t_Select_Alternative javac java-1.6.0-openjdk + # creating source file PATH2FILE='/var/tmp/' FILE='HelloWorld'