6893426: ShellScaffold.sh fails on Solaris 10 update releases: /usr/bin/id: illegal option -- u
Reviewed-by: ohair, dcubed
--- a/jdk/test/com/sun/jdi/ShellScaffold.sh Wed Oct 21 08:17:35 2009 +0800
+++ b/jdk/test/com/sun/jdi/ShellScaffold.sh Wed Oct 21 00:12:59 2009 -0700
@@ -307,7 +307,7 @@
#The alternative would be to use /usr/bin/pargs [pid] to get
#all the args for a process, splice them back into one
#long string, then grep.
- UU=`/usr/bin/id -un`
+ UU=`/usr/xpg4/bin/id -u -n`
psCmd="pgrep -f -l -U $UU"
else
ulimit -c 0