3 # profile exerciser for dbpmda
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
18 -e '/pmResult/s/ .* numpmid/ ... numpmid/' \
19 -e "s;$PCP_PMDAS_DIR;\$PCP_PMDAS_DIR;" \
20 -e "s/\\.$DSO_SUFFIX/.\$DSO_SUFFIX/"
23 trap "rm -f $tmp.*; exit" 0 1 2 3 15
25 # real QA test starts here
26 dsopmda
=$PCP_PMDAS_DIR/sample
/pmda_sample.
$DSO_SUFFIX
27 pipepmda
=$PCP_PMDAS_DIR/sample
/pmdasample
28 [ ! -f $pipepmda ] && echo "FATAL ERROR Could not find \"$pipepmda\"" && exit 1
29 [ ! -f $dsopmda ] && echo "FATAL ERROR Could not find \"$dsopmda\"" && exit 1
31 $sudo dbpmda
-ie <<End-of-File 2>&1 | _filter
32 open pipe $pipepmda -d 29
42 profile 29.2 delete 100
43 profile 29.2 delete 300
44 profile 29.2 delete 500
45 profile 29.2 delete 700
46 profile 29.2 delete 900
48 open dso $dsopmda sample_init 30
57 profile 30.2 delete 100
58 profile 30.2 delete 300
59 profile 30.2 delete 500
60 profile 30.2 delete 700
61 profile 30.2 delete 900