hotspot/test/test_env.sh
changeset 33121 6580bf263d00
parent 30760 751b9e1fb0e5
child 35075 ca79cbf3f106
--- a/hotspot/test/test_env.sh	Mon Sep 28 12:57:47 2015 +0200
+++ b/hotspot/test/test_env.sh	Mon Oct 05 13:25:01 2015 -0700
@@ -111,7 +111,8 @@
   exit 1
 fi
 
-${TESTJAVA}${FS}bin${FS}java ${TESTOPTS} -Xinternalversion > vm_version.out 2>&1
+${TESTJAVA}${FS}bin${FS}java ${TESTOPTS} -Xinternalversion | sed -e 's/[(][^)]*[)]//g' -e 's/ by "[^"]*"//g' > vm_version.out 2>&1
+echo "INT_VERSION=`cat vm_version.out 2>&1`"
 
 VM_TYPE="unknown"
 grep "Server" vm_version.out > ${NULL}