8153856: com/sun/jdi/WatchFramePop.sh fails with exit code 1
Summary: fixed sed expression in a test
Reviewed-by: sla
--- a/jdk/test/com/sun/jdi/ShellScaffold.sh Tue Apr 12 00:43:57 2016 -0700
+++ b/jdk/test/com/sun/jdi/ShellScaffold.sh Wed Apr 13 12:10:42 2016 +0300
@@ -924,7 +924,7 @@
# If jstack exists, so will jps
# Show stack traces of jdb and debuggee as a possible debugging aid.
jdbCmd=`$jdk/bin/jps -v | $grep $jdbKeyword`
- realJdbPid=`echo "$jdbCmd" | sed -e 's@ TTY.*@@'`
+ realJdbPid=`echo "$jdbCmd" | sed -e 's@ .*@@'`
if [ ! -z "$realJdbPid" ] ; then
echo "-- jdb process info ----------------------" >&2
echo " $jdbCmd" >&2