zsh completions: minor tweaks
[pcp.git] / qa / 875
blob0faea05e1f33a71e5f07d93ab0c4b68489b04356
1 #!/bin/sh
2 # PCP QA Test No. 875
3 # Exercise parsing of unix: and local: hostspec suffixes.
5 # Copyright (c) 2013 Red Hat.
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 _check_valgrind
18 status=1 # failure is the default!
19 $sudo rm -rf $tmp.* $seq.full
20 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
22 _filter_socket()
24 sed -e "s,$PCP_RUN_DIR,/PCP_RUN_DIR,g"
27 # real QA test starts here
29 _run_valgrind src/parsehostattrs local:where/am/i.sock
30 _run_valgrind src/parsehostattrs local://tmp/holey.sock?user=pcpqa\&compress
31 _run_valgrind src/parsehostattrs local:? | _filter_socket
33 _run_valgrind src/parsehostattrs unix://tmp/holey.sock?compress\&exclusive
34 _run_valgrind src/parsehostattrs unix://?compress | _filter_socket
36 # success, all done
37 status=0
38 exit