qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 158
blob50f894230d6b06a6c9979f3a59616833683dffae
1 #! /bin/sh
2 # PCP QA Test No. 158
4 # -S and -T values that are _both_ before the start, or after the end
5 # of an archive ... for cmds in the open source PCP release (see also
6 # 160)
8 # PV 928021
10 # Copyright (c) 2002 Silicon Graphics, Inc. All Rights Reserved.
12 seq=`basename $0`
13 echo "QA output created by $seq"
15 # get standard environment, filters and checks
16 . ./common.product
17 . ./common.filter
18 . ./common.check
20 status=0 # success is the default!
21 $sudo rm -rf $tmp.*
22 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
24 # real QA test starts here
26 # the archive archives/rattle
27 # Performance metrics from host rattle
28 # commencing Sat May 17 21:22:42.025 1997
29 # ending Mon May 19 10:22:42.021 1997
31 # -S and -T before the start of the archive
33 pmval -z -S '@Sat May 10 01:00:00 1997' -T '@Sat May 10 01:00:00 1997' -a archives/rattle irix.kernel.all.load
35 echo
36 echo "irix.kernel.all.load;" \
37 | pmie -z -v -S '@Sat May 10 01:00:00 1997' -T '@Sat May 10 01:00:00 1997' -a archives/rattle 2>&1 \
38 | grep -v 'evaluator exiting'
40 # -S and -T after the end of the archive
42 echo
43 pmval -z -S '@Sat May 24 01:00:00 1997' -T '@Sat May 24 01:00:00 1997' -a archives/rattle irix.kernel.all.load
45 echo
46 echo "irix.kernel.all.load;" \
47 | pmie -v -S '@Sat May 24 01:00:00 1997' -T '@Sat May 24 01:00:00 1997' -a archives/rattle 2>&1 \
48 | grep -v 'evaluator exiting'
50 # success, all done
51 exit