Lines Matching refs:portnum
85 portnum=`awk '/port:/ {print $2}' port-create.txt`
87 atf_check egrep -q "$portnum *YES *ioctl *ioctl" portlist.txt
133 atf_check egrep -q "$portnum *NO *iscsi *iscsi.*$TARGET" portlist.txt
196 portnum=`awk '/port:/ {print $2}' port-create.txt`
220 portnum=`awk '/port:/ {print $2}' port-create.txt`
222 atf_check -o ignore ctladm port -o off -p $portnum
223 atf_check -o match:"^$portnum *NO" ctladm portlist -qf ioctl
241 portnum=`awk '/port:/ {print $2}' port-create.txt`
243 atf_check -o ignore ctladm port -o off -p $portnum
244 atf_check -o ignore ctladm port -o on -p $portnum
245 atf_check -o match:"^$portnum *YES" ctladm portlist -qf ioctl
265 portnum=`awk '/port:/ {print $2}' port-create.txt`
267 atf_check -o inline:"Port destroyed successfully\n" ctladm port -r -d ioctl -p $portnum
270 if ctladm portlist -qf ioctl | egrep -q "^${portnum} .*10001 *10002"; then
289 portnum=`awk '/port:/ {print $2}' port-create.txt`
295 if ctladm portlist -qf iscsi | egrep -q "^${portnum} .*$PGTAG +[0-9]+ +$TARGET,t,$PGTAGHEX"; then