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.
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
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
30 [ $status -ne 0 ] && exit
32 echo "Exercising CPU instances with indom PDU"
33 pmprobe
-Lif hinv.cpu.
clock >/dev
/null