pmrep: fix archive end time reporting
[pcp.git] / qa / 592
blob9cd9fa3adba0a2e9702e6055c2449857eac805b0
1 #! /bin/sh
2 # PCP QA Test No. 592
3 # test new "sample.many.{count,int}" metric
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 cleanup()
18 pmstore sample.many.count 5
21 trap "cleanup ; rm -f $tmp.*; exit \$status" 0 1 2 3 15
23 # real QA test starts here
25 pminfo -t sample.many.count
26 pminfo -t sample.many.int
28 pminfo -f sample.many.count
29 pminfo -f sample.many.int
30 pmstore sample.many.count 13
31 pminfo -f sample.many.count
32 pminfo -f sample.many.int