Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 139
blob1ff76cff33883bcd9bc8c45bac27b9dc190dbd5d
1 #! /bin/sh
2 # PCP QA Test No. 139
3 # Illegal/unknown metrics to pmlc
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. 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 _filter()
18 sed \
19 -e '/ on /d' -e '/ off /d' -e '/^$/d' \
20 -e 's/Version [0-9].*/Version VERSION/' \
21 -e '/sample\.dynamic/d' \
22 -e '/no instances/d' \
23 -e '/sample\.many\./d'\
24 -e '/sample\.bigid/d' \
25 -e '/sample\.byte_/d' \
26 -e '/sample\.kbyte_/d' \
27 -e '/sample\.datasize/d' \
28 -e '/sample\.darkness/d' \
32 trap "rm -f $tmp.*; exit" 0 1 2 3 15
34 # real QA test starts here
35 pmlc -ie <<End-of-File | _filter
36 connect primary
37 query no_such_metric
38 query sample.bad.unknown
39 query sample.bad.nosupport
40 query sample.bad
41 query sample
42 End-of-File