Codebase list jtreg / 16ee8e6
apply patch for wrapper script Thank you to Tiago Stürmer Daitx for the patch Gbp-Dch: ignore tony mancill 3 years ago
1 changed file(s) with 8 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
2424 # Verify java version (1.)5 or newer used to run jtdiff
2525 --- a/src/share/bin/jtreg.sh
2626 +++ b/src/share/bin/jtreg.sh
27 @@ -98,6 +98,9 @@
28 fi
29 fi
27 @@ -70,6 +70,10 @@
3028
29 # Determine jtreg installation directory
30 JTREG_HOME=${JTREG_HOME:-$JT_HOME} # allow for old version of name
3131 +if [ -z "${JTREG_HOME}" ]; then
3232 + JTREG_HOME="/usr/share/jtreg"
3333 +fi
34
35 # Look for -jdk option as possible default to run jtreg
36 # Unset IFS and use newline as arg separator to preserve spaces in args
37 @@ -125,7 +128,7 @@
34 +
35 if [ -n "$JTREG_HOME" ]; then
36 if [ ! -r $JTREG_HOME/lib/jtreg.jar ];then
37 echo "Invalid JTREG_HOME=$JTREG_HOME. Cannot find or read $JTREG_HOME/lib/jtreg.jar"
38 @@ -125,7 +129,7 @@
3839 elif [ -n "$jdk" ]; then
3940 JTREG_JAVA="$jdk/bin/java"
4041 else