Update of /cvsroot/monetdb/MonetDB/src/testing
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15140
Modified Files:
Tag: MonetDB_1-20
MkillUsers.in
Log Message:
avoid killing (subprocesses of) Mtest.py itself
Index: MkillUsers.in
===================================================================
RCS file: /cvsroot/monetdb/MonetDB/src/testing/MkillUsers.in,v
retrieving revision 1.29.2.2
retrieving revision 1.29.2.3
diff -u -d -r1.29.2.2 -r1.29.2.3
--- MkillUsers.in 8 Nov 2007 08:08:30 -0000 1.29.2.2
+++ MkillUsers.in 15 Nov 2007 05:57:37 -0000 1.29.2.3
@@ -50,7 +50,7 @@
cpids=""
if [ "$PARENT" ] ; then
- cpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$PARENT"' ' | egrep -v
'^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ | '"$0"' ' | sort -k 4.1 | awk '{printf
"%s " , $2}' | perl -pe 's| *$||'`"
+ cpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$PARENT"' ' | egrep -v
'^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ | '"$0"' | '"$THISPATH/Mtest.py"' ' |
sort -k 4.1 | awk '{printf "%s " , $2}' | perl -pe 's| *$||'`"
if [ "$cpids" ] ; then
# KIDS="`echo "($cpids)" | perl -pe 's/ /|/g'`"
# gpids="`ps -ef | egrep '^ *[a-zA-Z0-9_]+ +[0-9]+ +'"$KIDS"' ' | egrep
-v '^ *[a-zA-Z0-9_]+ +'"$CHILD"' +[0-9]+ | '"$0"' ' | sort -k 4.1 | awk
'{printf "%s " , $2}' | perl -pe 's| *$||'`"
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins