3 # Bad checking for non-numeric types in pmie
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 status
=1 # failure is the default!
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 pmie
-v -t 1sec
-T 2sec
2>&1 <<End-of-File \
22 | LC_COLLATE=POSIX sort -u \
24 -e '/Info: evaluator exiting/d' \
25 -e "s/$LOCALHOST/HOST/g" \
26 -e "s/local:/HOST/g" \
27 -e '/^pmie: /s/- on line/- near line/'
28 notknown = sample.bad.unknown + 1;
29 nosupport = sample.bad.nosupport - sample.long.one;
30 noinst = sample.noinst / 1;
31 needprofile = 100 * sample.needprofile;
32 long = sample.long.one == 1;
33 longlong = sample.longlong.one + 3;
34 float = sample.float.one * 10;
35 double = sample.double.one - 1;
36 string = sample.string.hullo == "abc";
37 aggregate = sample.aggregate.hullo / 4;