pmrep: update TODO, man page
[pcp.git] / qa / 127
blobe606ecc68d5fb61e8682cd33be546b56e3b0b358
1 #! /bin/sh
2 # PCP QA Test No. 127
3 # pmlogreduce basic metadata sanity
5 # Copyright (c) 2002 Silicon Graphics, Inc. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=0 # success is the default!
17 $sudo rm -rf $tmp.*
18 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
20 # real QA test starts here
21 pmlogreduce archives/kenj-pc-1 $tmp
22 pmdumplog -d $tmp \
23 | sed -e '/^PMID/{
26 s/\n /| /g
27 }' \
28 | LC_COLLATE=POSIX sort \
29 | sed -e 's/| /\
30 /g'
32 # success, all done
33 exit