Merge branch 'master' of git://git.pcp.io/pcp into qt
[pcp.git] / qa / 859
blob26da9ecde67999591dee8717616b176439edba68
1 #!/bin/sh
2 # PCP QA Test No. 801
3 # Exercise python PMAPI fetchgroup bindings
5 # Copyright (c) 2015 Red Hat.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 . ./common.python
13 status=1 # failure is the default!
14 $sudo rm -f $tmp.* $seq.full
15 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
17 $python -c 'from pcp import pmapi' 2>/dev/null
18 test $? -eq 0 || _notrun 'Python pcp pmapi module is not installed'
20 # real QA test starts here
21 $python $here/src/test_pmfg.py >$seq.full 2>&1
22 _check_unittest pmfg $seq.full
23 status=$?
24 exit