5 # - check that "message" is in $PCP_LOG_DIR/NOTICES
7 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
11 echo "QA output created by $seq"
13 # get standard filters
18 status
=1 # failure is the default!
19 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
21 # real QA test starts here
23 _day
=`date | $PCP_AWK_PROG '{ print $1 }'`
24 _month
=`date | $PCP_AWK_PROG '{ print $2 }'`
25 _date
=`date | $PCP_AWK_PROG '{ print $3 }'`
27 $sudo $PCP_BINADM_DIR/pmpost
"QA test $seq"
28 tail -1 $PCP_LOG_DIR/NOTICES |
sed -e 's/[0-9]*:[0-9]* //'