qa: revert some change to expected 244 outputs (from pmda-restart)
[pcp.git] / qa / 859
bloba95a481ce89acc15964d09d757c19a39df388eab
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
12 status=1 # failure is the default!
13 $sudo rm -f $tmp.* $seq.full
14 trap "rm -f $tmp.*; exit \$status" 0 1 2 3 15
16 $python -c 'from pcp import pmapi' 2>/dev/null
17 test $? -eq 0 || _notrun 'Python pcp pmapi module is not installed'
19 # real QA test starts here
20 $python $here/src/test_pmfg.py >$seq.full 2>&1
21 _check_unittest pmfg $seq.full
22 status=$?
23 exit