pmrep: fix archive end time reporting
[pcp.git] / qa / 768
bloba83a37ca97594a8309e35c0be6dd76aab91b2521
1 #!/bin/sh
2 # PCP QA Test No. 768
3 # pmlogextract bug - reported by Tom Yearke
5 # Copyright (c) 2013 Ken McDonell, Tom Yearke. All Rights Reserved.
8 # get standard filters
9 . ./common.product
10 . ./common.filter
11 . ./common.check
13 seq=`basename $0`
14 echo "QA output created by $seq"
16 status=1 # failure is the default!
17 $sudo rm -rf $tmp.* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 pmlogextract -Z UTC -S "@ Nov 27 15:52:30" -T "@ Nov 27 15:54:30" archives/node_archive $tmp
23 pmdumplog -a -Z UTC $tmp
25 # success, all done
26 status=0
28 exit