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.
10 echo "QA output created by $seq"
12 # get standard environment, filters and checks
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
25 echo "=== no -S or -T ==="
26 pmlogsummary
-zHlfiImMy archives
/20041125 mem.freemem disk.partitions.
write |
head -10
29 echo "=== with -S @00:15 ==="
30 pmlogsummary
-zHlfiImMy -S @
00:15 archives
/20041125 mem.freemem disk.partitions.
write |
head -10
33 echo "=== with -T @00:45 ==="
34 pmlogsummary
-zHlfiImMy -T @
00:45 archives
/20041125 mem.freemem disk.partitions.
write |
head -10
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