pmrep: fix archive end time reporting
[pcp.git] / qa / 171
blobb3c96ab133e2e291705389f9aca35b9d4dfcb928
1 #! /bin/sh
2 # PCP QA Test No. 171
3 # demonstrate interpolate mode bug
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 filters
12 . ./common.product
13 . ./common.filter
15 arch=archives/bug_v2
16 pmns=
18 trap "rm -f $tmp.*; exit" 0 1 2 3 15
20 # deal with an annoying libc error ... using TZ=:Australia/Melbourne
21 # causes the -z option to report the wrong time, at least for some
22 # times of the year
24 TZ=EST-10
25 export TZ
27 # real QA test starts here
29 # need -n src/root_irix 'cause app looks up some metrics not in the
30 # archive
32 src/interp_bug -n src/root_irix -t 2.0 -a $arch
33 status=$?
35 if [ $status != 0 ]
36 then
37 echo
38 echo "Error ... here is the log"
39 pmdumplog $pmns -a $arch
42 exit $status