docs: tweak formatting in pmrep(1) archive folio example
[pcp.git] / qa / 737
blob6a567eb691eab8275005b06bb722be57670dc58b
1 #!/bin/sh
2 # PCP QA Test No. 737
3 # Exercise time interfaces in python PMAPI wrapper module.
5 # Copyright (c) Red Hat.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 . ./common.python
12 $python -c "from pcp import pmapi" >/dev/null 2>&1
13 [ $? -eq 0 ] || _notrun "python pcp pmapi module not installed"
15 status=1 # failure is the default!
16 $sudo rm -rf $tmp.* $seq.full
17 trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
19 _filter_utc()
21 sed -e 's/UTC+0/UTC/g' -e 's/UTC-0/UTC/g'
24 # real QA test starts here
25 $python src/test_pcp_time.py | _filter_utc
27 # success, all done
28 status=0
29 exit