RR(XS): JDK-8024056 runtime/InitialThreadOverflow/testme.sh fails

David Holmes david.holmes at oracle.com
Mon Sep 2 15:55:58 PDT 2013


Hi Dmitry,

On 3/09/2013 5:38 AM, Dmitry Samersoff wrote:
> Hi Everybody,
>
> http://cr.openjdk.java.net/~dsamersoff/JDK-8024056/webrev.01/
>
> Please review small correction to the test.
>
> On some linuxes gcc not able to link cxx binary. Explicitly check for g++

That seems okay but you have no addressed this problem:

+ [ x/usr/bin/gcc == x ]
[: 1: x/usr/bin/gcc: unexpected operator

There are a couple of tests using this kind of construct:

   46 gcc_cmd=`which gcc`
   47 if [ "x$gcc_cmd" == "x" ]; then
   48     echo "WARNING: gcc not found. Cannot execute test." 2>&1
   49     exit 0;
   50 fi

The == should just be =

Thanks,
David

> -Dmitry
>


More information about the hotspot-runtime-dev mailing list