pmrep: really drop non-ascii
[pcp.git] / qa / 415
blob9f0f43fa4b1dac4ab4f80aa9dff794429463a81e
1 #!/bin/sh
2 # PCP QA Test No. 415
3 # check pmstore with incompatible (EVENT/AGGR) metrics
5 # Copyright (c) 2010 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=0 # success is the default!
17 $sudo rm -rf $tmp.* $seq.full
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 _do()
22 echo
23 echo "=== $* ==="
25 echo "exit status=$?"
28 # real QA test starts here
29 _do pmstore sample.event.records 1
30 _do pmstore sample.aggregate.write_me 1
31 _do pmstore sample.event.highres_records 1
33 # success, all done
34 exit