Lines Matching full:create
57 if [ -e port-create.txt ]; then
60 PORTNUM=`awk '/port:/ {print $2}' port-create.txt`
64 TARGET=`awk '/target:/ {print $2}' port-create.txt`
74 atf_set "descr" "ctladm can create a new ioctl port"
81 atf_check -o save:port-create.txt ctladm port -c -d "ioctl"
82 atf_check egrep -q "Port created successfully" port-create.txt
83 atf_check egrep -q "frontend: *ioctl" port-create.txt
84 atf_check egrep -q "port: *[0-9]+" port-create.txt
85 portnum=`awk '/port:/ {print $2}' port-create.txt`
104 atf_check -o save:port-create.txt ctladm port -c -d "ioctl"
105 atf_check egrep -q "Port created successfully" port-create.txt
116 atf_set "descr" "ctladm can create a new iscsi port"
125 atf_check -o save:port-create.txt ctladm port -c -d "iscsi" -O cfiscsi_portal_group_tag=$PGTAG -O cfiscsi_target="$TARGET"
126 echo "target: $TARGET" >> port-create.txt
127 atf_check egrep -q "Port created successfully" port-create.txt
128 atf_check egrep -q "frontend: *iscsi" port-create.txt
129 atf_check egrep -q "port: *[0-9]+" port-create.txt
143 atf_set "descr" "ctladm can create a new iscsi port with a target alias"
153 atf_check -o save:port-create.txt ctladm port -c -d "iscsi" -O cfiscsi_portal_group_tag=$PGTAG -O cfiscsi_target="$TARGET" -O cfiscsi_target_alias="$ALIAS"
154 echo "target: $TARGET" >> port-create.txt
155 atf_check egrep -q "Port created successfully" port-create.txt
156 atf_check egrep -q "frontend: *iscsi" port-create.txt
157 atf_check egrep -q "port: *[0-9]+" port-create.txt
169 atf_set "descr" "ctladm will gracefully fail to create an iSCSI target if required arguments are missing"
192 atf_check -o save:port-create.txt ctladm port -c -d "ioctl" -O pp=101 -O vp=102
193 atf_check egrep -q "Port created successfully" port-create.txt
194 atf_check egrep -q "frontend: *ioctl" port-create.txt
195 atf_check egrep -q "port: *[0-9]+" port-create.txt
196 portnum=`awk '/port:/ {print $2}' port-create.txt`
200 atf_fail "Did not create the port with the specified options"
219 atf_check -o save:port-create.txt ctladm port -c -d "ioctl"
220 portnum=`awk '/port:/ {print $2}' port-create.txt`
240 atf_check -o save:port-create.txt ctladm port -c -d "ioctl"
241 portnum=`awk '/port:/ {print $2}' port-create.txt`
264 atf_check -o save:port-create.txt ctladm port -c -d "ioctl" -O pp=10001 -O vp=10002
265 portnum=`awk '/port:/ {print $2}' port-create.txt`
288 atf_check -o save:port-create.txt ctladm port -c -d "iscsi" -O cfiscsi_portal_group_tag=$PGTAG -O cfiscsi_target="$TARGET"
289 portnum=`awk '/port:/ {print $2}' port-create.txt`
313 atf_check -o save:port-create.txt ctladm port -c -d "iscsi" -O cfiscsi_portal_group_tag=$PGTAG -O cfiscsi_target="$TARGET"
314 echo "target: $TARGET" >> port-create.txt