3 # Exercise parsing of unix: and local: hostspec suffixes.
5 # Copyright (c) 2013 Red Hat.
9 echo "QA output created by $seq"
11 # get standard environment, filters and checks
16 [ $PCP_VER -ge 30802 ] || _notrun
"No support for local:/unix: hostspecs"
19 status
=1 # failure is the default!
20 $sudo rm -rf $tmp.
* $seq.full
21 trap "cd $here; rm -rf $tmp.*; exit \$status" 0 1 2 3 15
25 sed -e "s,$PCP_RUN_DIR,/PCP_RUN_DIR,g"
28 # real QA test starts here
30 _run_valgrind src
/parsehostattrs
local:where
/am
/i.sock
31 _run_valgrind src
/parsehostattrs
local://tmp
/holey.sock?user
=pcpqa\
&compress
32 _run_valgrind src
/parsehostattrs
local:? | _filter_socket
34 _run_valgrind src
/parsehostattrs unix
://tmp
/holey.sock?
compress\
&exclusive
35 _run_valgrind src
/parsehostattrs unix
://?
compress | _filter_socket