Please review test fix: 6787605 "OpenSolaris doesn't have /usr/ucb/ps so ShellScaffold fails"
Kelly.Ohair at Sun.COM
Fri Oct 2 09:10:37 PDT 2009
Looks ok to me.
Tim Bell wrote:
> jdk/test/com/sun/jdi/ShellScaffold.sh is used in many of
> the jdk/test/com/sun/jdi JTreg tests. JDI tests are unlike
> other JTreg tests because they typically start up two
> additional JVMs - one for the debugger and one for the debugee.
> This raises the problem of keeping track of the child process(es)
> and shutting them down properly.
> /usr/ucb came from the days of Solaris 1 (SunOS 4), and has
> been deprecated for years. This should not come as a surprise,
> but the removal of /usr/ucb/ps in OpenSolaris breaks the scaffold
> on OpenSolaris test machines.
> Here is the bug report:
> This fix uses /usr/bin/pgrep instead on Solaris and OpenSolaris,
> which is a supported interface:
> With this fix, the JDI tests passed on JPRT systems, and also
> on my office desktop, which is running OpenSolaris 2008.06.
> Thanks in advance for any reviewers:
More information about the serviceability-dev