4 # pmie fails for metric with instance domain containing one instance
5 # ... also some string constant exercises for embedded escapes
7 # Copyright (c) 2010 Ken McDonell. All Rights Reserved.
11 echo "QA output created by $seq"
13 # get standard environment, filters and checks
18 status
=0 # success is the default!
19 $sudo rm -rf $tmp.
* $seq.full
20 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
22 cat >$tmp.pmie
<<'End-of-File'
23 some_inst ( match_inst "d" sample.dodgey.value > 0) -> print "short match ..." " [%i] %v";
24 some_inst ( match_inst "^d[12345]\$" sample.dodgey.value > 0) -> print "long match ..." " [%i] %v" "\t\"\\\$\\\" A\BC\(\)[]\78\9";
30 |
sed -e 's/.* Info: evaluator exiting/pmie: note - evaluator exiting/g' \
31 -e 's/[A-Z][a-z][a-z] [A-Z][a-z][a-z] *[0-9][0-9]* [0-9][0-9]:[0-9][0-9]:[0-9][0-9] [0-9][0-9][0-9][0-9]/DATE/' \
32 -e 's/ [0-9][0-9]*/ NN/g' \
33 | LC_COLLATE
=POSIX
sort \
37 # real QA test starts here
41 echo "=== $i values for sample.dodgey.value ==="
42 pmstore sample.dodgey.control
$i >/dev
/null
43 pminfo
-f sample.dodgey.value
>>$seq.full
44 pmie
-t 0.5 -T 2.3 <$tmp.pmie
2>&1 | _filter
47 pmstore sample.dodgey.control
5 >/dev
/null