3 # Basic archive mode validation of the Python pmcc module
4 # (pmcc -> Performance Metrics Convenience Classes)
6 # Copyright (c) 2014 Red Hat.
10 echo "QA output created by $seq"
14 status
=1 # failure is the default!
15 $sudo rm -rf $tmp.
* $seq.full
16 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
18 $python -c 'from pcp import pmcc' 2>/dev
/null
19 test $?
-eq 0 || _notrun
'Python pcp pmcc module is not installed'
21 # real QA test starts here
22 $python $here/src
/test_pmcc.py
-a archives
/pmatop-log
.0 >$seq.full
2>&1
23 _check_unittest archive
$seq.full