Commit b8d555a1 authored by balaskoa's avatar balaskoa
Browse files

TITAN_Executor_API_test updated to be conform to the newer jdks


Signed-off-by: default avatarbalaskoa <Jeno.Balasko@ericsson.com>
Change-Id: I86795bd00a85f201699e07efe4027a35290b55e2
parent 4aeea163
......@@ -43,7 +43,7 @@ if [[ "$_java" ]]; then
fi
# check java version (>=1.7) in another way
[ $(java -version 2>&1 | sed 's/java version "\(.*\)\.\(.*\)\..*"/\1\2/; 1q') -ge 17 ] && echo "version is at least 1.7, OK" || { echo "version is less than 1.7, NOT OK, exiting"; exit 1; }
[ $(java -version 2>&1 | sed 's/.* version "\(.*\)\.\(.*\)\..*".*/\1\2/; 1q') -ge 17 ] && echo "version is at least 1.7, OK" || { echo "version is less than 1.7, NOT OK, exiting"; exit 1; }
# checks if file exists, exits if not
# @param $1 file full path
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment