docs: tweak formatting in pmrep(1) archive folio example
[pcp.git] / qa / 194
blob7f5b7f7c30252090e761c82541b991a4704849bd
1 #! /bin/sh
2 # PCP QA Test No. 194
3 # fallout ... initial fix introduced a bug in the timeout path
4 # pv 935490
6 # Copyright (c) 2005 Silicon Graphics, Inc. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
13 . ./common.product
14 . ./common.filter
15 . ./common.check
17 signal=$PCP_BINADM_DIR/pmsignal
18 status=0 # success is the default!
19 $sudo rm -rf $tmp.*
20 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
22 # real QA test starts here
23 $sudo rm -f core*
25 ( src/dumb_pmda >$seq.full 2>&1 ) &
27 sleep 15
28 $signal -a -s KILL dumb_pmda >/dev/null 2>&1
30 wait
32 _check_core
34 exit