3 # Exercise time interfaces in python PMAPI wrapper module.
5 # Copyright (c) Red Hat.
9 echo "QA output created by $seq"
12 [ -f common.python
] || _notrun
"Testsuite built without python support"
15 $python -c "from pcp import pmapi" >/dev
/null
2>&1
16 [ $?
-eq 0 ] || _notrun
"python pcp pmapi module not installed"
18 status
=1 # failure is the default!
19 $sudo rm -rf $tmp.
* $seq.full
20 trap "rm -rf $tmp.*; exit \$status" 0 1 2 3 15
24 sed -e 's/UTC+0/UTC/g' -e 's/UTC-0/UTC/g'
27 # real QA test starts here
28 $python src
/test_pcp_time.py | _filter_utc