3 # #655108 $PCP_RC_DIR/pcp leaves files in /var/tmp
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=1 # failure is the default!
17 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
19 # real QA test starts here
20 $sudo rm -f /var
/tmp
/*.pmcheck
21 _change_config pmlogger on
22 $sudo $PCP_RC_DIR/pcp restart | _filter_pcp_start
26 # and wait some more for other pmloggers and stuff pmlogger_check will
27 # do before _start_pmcheck() in $PCP_RC_DIR/pcp actually gets to do
30 st
=0; cnt
=0; while [ $st -ne 1 ] ; do
32 ps
$PCP_PS_ALL_FLAGS |
grep pmcheck |
grep -v grep > $tmp.ps
36 if [ $cnt -gt 12 ] ; then
37 echo Waited too long
for those ...
45 echo "Expect no files ..."
46 echo /var
/tmp
/*.pmcheck