qa: update 660 to generate index.html, fixing pcp-testsuite runs
[pcp.git] / qa / 824
blobc2f06956b695c255ab4c6a9a055c21c19ae3ac26
1 #!/bin/sh
2 # PCP QA Test No. 824
3 # https://bugzilla.redhat.com/show_bug.cgi?id=1132476
4 # with -S pmlogsummary reports incorrect commencing time
6 # Copyright (c) 2014 Ken McDonell. 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 status=1 # failure is the default!
18 $sudo rm -rf $tmp.* $seq.full
19 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
21 # real QA test starts here
22 pmdumplog -zL archives/20041125
24 echo
25 echo "=== no -S or -T ==="
26 pmlogsummary -zHlfiImMy archives/20041125 mem.freemem disk.partitions.write | head -10
28 echo
29 echo "=== with -S @00:15 ==="
30 pmlogsummary -zHlfiImMy -S @00:15 archives/20041125 mem.freemem disk.partitions.write | head -10
32 echo
33 echo "=== with -T @00:45 ==="
34 pmlogsummary -zHlfiImMy -T @00:45 archives/20041125 mem.freemem disk.partitions.write | head -10
36 echo
37 echo "=== with -S @00:15 and -T @00:45 ==="
38 pmlogsummary -zHlfiImMy -S @00:15 -T @00:45 archives/20041125 mem.freemem disk.partitions.write | head -10
40 # success, all done
41 status=0
43 exit