3 # pmcd.numclients was incorrect
5 # Copyright (c) 1995-2002 Silicon Graphics, Inc. All Rights Reserved.
9 echo "QA output created by $seq"
11 # get standard filters
15 trap "rm -f $tmp.*; exit" 0 1 2 3 15
17 # real QA test starts here
18 ( date; pminfo
-f pmcd.client
) >$tmp.before
19 pminfo
-f pmcd.numclients |
tee $here/$seq.full |
sed -e '/^$/d' >$tmp.out
20 N
=`sed -n '/value/s/ value //p' $tmp.out`
21 echo "N=$N" >>$here/$seq.full
22 sed "s/$N/N/" $tmp.out
23 # expect N+4, but pmie processes come and go, so N+4 +/- 1 seems
30 echo "PAT=$PAT" >>$here/$seq.full
34 pmval
-s3 -t5 pmcd.numagents
>$tmp.
$i 2>&1 &
42 [ -s $tmp.
$i ] ||
rm -f $tmp.started
44 [ -f $tmp.started
] && break
48 pminfo
-f pmcd.numclients |
tee -a $here/$seq.full |
sed -e '/^$/d' >$tmp.out
49 ( date; pminfo
-f pmcd.client
) >$tmp.after
51 if egrep "value $PAT" $tmp.out
>/dev
/null
59 echo "Error: expected value $N"