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"
13 status
=1 # failure is the default!
14 $sudo rm -rf $tmp.
* $seq.full
15 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
17 $python -c 'from pcp import pmcc' 2>/dev
/null
18 test $?
-eq 0 || _notrun
'Python pcp pmcc module is not installed'
20 # real QA test starts here
21 $python $here/src
/test_pmcc.py
-a archives
/pmatop-log
.0 >$seq.full
2>&1
22 _check_unittest archive
$seq.full