qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 452
blob9ef27783884ece86885d0c569370ffa74a026a8b
1 #!/bin/sh
2 # PCP QA Test No. 452
3 # exercise dependencies between Linux PMDA clusters
4 # e.g. CLUSTER_CPUINFO needs cpu indom initialized by CLUSTER_STAT
6 # Copyright (c) 2011 Red Hat, Inc. All Rights Reserved.
9 seq=`basename $0`
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
13 . ./common.product
14 . ./common.filter
15 . ./common.check
17 [ $PCP_PLATFORM = linux ] || _notrun "Tests pmdalinux functionality"
19 status=0 # success is the default!
20 $sudo rm -rf $tmp.* $seq.full
21 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
23 # real QA test starts here
25 # CLUSTER_CPUINFO needs cpu indom initialized by CLUSTER_STAT
26 # without the fix, this will abort().
27 echo "Exercising CPU instances with fetch PDU"
28 pmprobe -Lv hinv.cpu.clock >/dev/null
29 status=$?
30 [ $status -ne 0 ] && exit
32 echo "Exercising CPU instances with indom PDU"
33 pmprobe -Lif hinv.cpu.clock >/dev/null
34 status=$?
36 exit