pmrep: update TODO, man page
[pcp.git] / qa / 815
blobf57cc136307058c4b37a9e55ecb1c430858f165f
1 #!/bin/sh
2 # PCP QA Test No. 815
3 # pmie bug in count_<foo> method when boolean expression is UNKNOWN
5 # Copyright (c) 2014 Ken McDonell. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=1 # failure is the default!
17 $sudo rm -rf $tmp.* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 cat <<'End-of-File' >$tmp.pmie
21 count_inst(match_inst "bin-[13579]00" sample.bin @5 == sample.bin);
22 End-of-File
24 # real QA test starts here
25 pmie -v -c $tmp.pmie -t 0.2sec -T 1.9sec >$tmp.out 2>&1
27 _show_pmie_errors <$tmp.out
29 # success, all done
30 status=0
32 exit