3 # send_signal sends signal $1 to the Valgrind process using prefix $2 in $3 seconds
4 # If there are some args after $3, the rest of these args is a command and its arg
5 # which is run every second. When this command is successful, then the sleep and
6 # the signal sending is done
14 if [ "$GUARDCMD" = "" ]
18 VPID
=`./vgdb -l $PREFIX 2>&1 | awk '{print $2}' | sed -e 's/--pid=//'`
21 echo "send_signal could not determine the valgrind pid with " $PREFIX
24 (while ! $GUARDCMD >> garbage.filtered.out
2>&1