Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 058
blob9ef5af2d7d381bcb4bb34412334beba64b65f4b8
1 #! /bin/sh
2 # PCP QA Test No. 058
3 # pmval busted for metrics with (a) incomplete instance domains, and
4 # (b) an instance domain of PM_INDOM_NULL?
6 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 # get standard filters
13 . ./common.product
14 . ./common.filter
16 _filter()
18 sed -e '/Warning.*license/d' \
19 -e '/^host:.*$/s/.*/HOST/'
22 trap "rm -f $tmp.*; exit" 0 1 2 3 15
24 # real QA test starts here
25 pmval -s 2 sample.longlong.million 2>&1 | _filter
26 pmval -s 2 sample.bin 2>&1 | _filter
27 pmval -s 2 sample.part_bin 2>&1 | _filter
28 pmval -s 2 sample.bogus_bin 2>&1 | _filter