pmrep: further zbxsend python3 fixes
[pcp.git] / qa / 552
blobaa7204f097ad0c70ecca49685e49f9b23f6f32f0
1 #!/bin/sh
2 # PCP QA Test No. 552
3 # Exercise pmNewContext parameter handling botch
5 # Copyright (c) 2013 Red Hat. All Rights Reserved.
8 seq=`basename $0`
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
12 . ./common.product
13 . ./common.filter
14 . ./common.check
16 status=1 # failure is the default!
17 $sudo rm -rf $tmp.* $seq.full
18 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
20 echo "Checking pmNewContext with an empty hostname"
21 pmprobe -h ''
23 echo "Checking pmNewContext with an empty filename"
24 pmprobe -a ''
26 # success, all done
27 status=0
29 exit