Home | History | Annotate | Download | only in if

Lines Matching refs:ifconfig

44 	atf_set "descr" "tests of ifconfig create and destroy"
55 atf_check -s exit:0 rump.ifconfig shmif0 create
56 atf_check -s exit:0 rump.ifconfig shmif0 destroy
59 atf_check -s exit:0 rump.ifconfig shmif0 create
60 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
61 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24
62 atf_check -s exit:0 rump.ifconfig shmif0 up
63 atf_check -s exit:0 rump.ifconfig shmif0 destroy
66 atf_check -s exit:0 rump.ifconfig shmif0 create
67 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
68 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::1
69 atf_check -s exit:0 rump.ifconfig shmif0 up
70 atf_check -s exit:0 rump.ifconfig shmif0 destroy
72 # Check if ifconfig (ioctl) works after a failure of ifconfig destroy
73 atf_check -s exit:0 -o ignore rump.ifconfig lo0
74 atf_check -s not-exit:0 -e ignore rump.ifconfig lo0 destroy
75 atf_check -s exit:0 -o ignore rump.ifconfig lo0
90 atf_set "descr" "tests of ifconfig options"
100 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 create
101 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 linkstr bus1
102 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 inet 10.0.0.1/24
103 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 inet6 fc00::1/64
104 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
105 atf_check -s exit:0 -o ignore rump.ifconfig -w 10
106 $DEBUG && rump.ifconfig shmif0
108 # ifconfig [-N] interface address_family
110 atf_check -s exit:0 -o match:'inet 127.0.0.1' rump.ifconfig lo0 inet
111 atf_check -s exit:0 -o match:'inet localhost' rump.ifconfig -N lo0 inet
112 atf_check -s exit:0 -o match:'inet6 ::1' rump.ifconfig lo0 inet6
113 atf_check -s exit:0 -o match:'inet6 localhost' rump.ifconfig -N lo0 inet6
114 atf_check -s not-exit:0 -e match:'not supported' rump.ifconfig lo0 atalk
115 atf_check -s not-exit:0 -e match:'not supported' rump.ifconfig -N lo0 atalk
116 atf_check -s exit:0 -o ignore rump.ifconfig lo0 link
117 atf_check -s exit:0 -o ignore rump.ifconfig -N lo0 link
119 # ifconfig [-hLmNvz] interface
121 atf_check -s exit:0 -o ignore rump.ifconfig -h -v lo0
123 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 inet6 fc00::2 \
125 $DEBUG && rump.ifconfig -L shmif0
126 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -L shmif0
127 atf_check -s exit:0 -o match:'vltime' rump.ifconfig -L shmif0
129 $DEBUG && rump.ifconfig -m shmif0
130 atf_check -s exit:0 -o ignore rump.ifconfig -m shmif0
131 atf_check -s exit:0 -o match:'localhost' rump.ifconfig -N lo0
132 atf_check -s exit:0 -o match:'0 packets' rump.ifconfig -v lo0
135 atf_check -s exit:0 -o match:'2 packets' rump.ifconfig -z lo0
136 atf_check -s exit:0 -o match:'0 packets' rump.ifconfig -v lo0
138 # ifconfig -a [-bdhLNmsuvz]
140 $DEBUG && rump.ifconfig -a
141 atf_check -s exit:0 -o match:'shmif0' -o match:'lo0' rump.ifconfig -a
143 atf_check -s exit:0 -o match:'shmif0' -o not-match:'lo0' rump.ifconfig -a -b
145 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 down
146 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -a -d
147 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
148 atf_check -s exit:0 -o not-match:'shmif0' rump.ifconfig -a -d
149 atf_check -s exit:0 -o match:'pltime' rump.ifconfig -a -L
150 atf_check -s exit:0 -o match:'vltime' rump.ifconfig -a -L
151 atf_check -s exit:0 -o match:'localhost' rump.ifconfig -a -N
152 atf_check -s exit:0 -o ignore rump.ifconfig -a -m
155 $DEBUG && rump.ifconfig -a -s
156 atf_check -s exit:0 -o ignore rump.ifconfig -a -s
158 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -a -u
159 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 down
160 atf_check -s exit:0 -o not-match:'shmif0' rump.ifconfig -a -u
161 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
162 atf_check -s exit:0 -o match:'0 packets' rump.ifconfig -a -v
164 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 down
165 atf_check -s exit:0 -o match:'2 packets' rump.ifconfig -a -z
166 atf_check -s exit:0 -o not-match:'2 packets' rump.ifconfig -a -v
167 atf_check -s exit:0 -o match:'0 packets' rump.ifconfig -a -v
168 atf_check -s exit:0 -o ignore rump.ifconfig shmif0 up
170 # ifconfig -l [-bdsu]
172 atf_check -s exit:0 -o match:'lo0' rump.ifconfig -l
173 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -l
174 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -l -b
175 atf_check -s exit:0 -o not-match:'lo0' rump.ifconfig -l -b
176 atf_check -s exit:0 -o ignore rump.ifconfig -l -d
177 atf_check -s exit:0 -o match:'lo0' rump.ifconfig -l -s
178 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -l -s
179 atf_check -s exit:0 -o match:'lo0' rump.ifconfig -l -u
180 atf_check -s exit:0 -o match:'shmif0' rump.ifconfig -l -u
182 # ifconfig -s interface
184 atf_check -s exit:0 -o empty rump.ifconfig -s lo0
185 atf_check -s exit:0 -o empty rump.ifconfig -s shmif0
187 # ifconfig -C
189 atf_check -s exit:0 -o match:'shmif carp lo' rump.ifconfig -C
216 atf_check -s exit:0 rump.ifconfig shmif0 create
217 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
218 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.1/24
219 atf_check -s exit:0 rump.ifconfig shmif0 up
223 atf_check -s exit:0 rump.ifconfig shmif0 create
224 atf_check -s exit:0 rump.ifconfig shmif0 linkstr shmbus
225 atf_check -s exit:0 rump.ifconfig shmif0 192.168.0.2/24
226 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.0.3/24 alias
227 atf_check -s exit:0 rump.ifconfig shmif0 up
233 atf_check -s exit:0 rump.ifconfig shmif0 link b2:a0:75:00:00:01 active
235 rump.ifconfig shmif0
237 atf_check -s exit:0 rump.ifconfig shmif0 down
240 atf_check -s exit:0 rump.ifconfig shmif0 up
241 atf_check -s exit:0 rump.ifconfig -w 10
245 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.1.1/24 alias
246 atf_check -s exit:0 -o match:'192.168.1.1/24' rump.ifconfig shmif0
247 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.1.1/24 -alias
248 atf_check -s exit:0 -o not-match:'192.168.1.1/24' rump.ifconfig shmif0
249 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::1
250 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::2
251 atf_check -s exit:0 -o match:'fc00::1' rump.ifconfig shmif0 inet6
252 atf_check -s exit:0 -o match:'fc00::2' rump.ifconfig shmif0 inet6
255 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.1.1 alias
256 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.1.1 delete
257 atf_check -s exit:0 -o not-match:'192.168.1.1' rump.ifconfig shmif0 inet
258 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.0.1 delete
259 atf_check -s exit:0 -o not-match:'192.168.0.1' rump.ifconfig shmif0 inet
260 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::1 delete
261 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::2 delete
262 atf_check -s exit:0 -o not-match:'fc00::1' rump.ifconfig shmif0 inet6
263 atf_check -s exit:0 -o not-match:'fc00::2' rump.ifconfig shmif0 inet6
265 atf_check -s exit:0 rump.ifconfig shmif0 link b2:a0:75:00:00:02
266 atf_check -s exit:0 rump.ifconfig shmif0 link b2:a0:75:00:00:02 delete
269 rump.ifconfig shmif0 link b2:a0:75:00:00:01 delete
271 atf_check -s exit:0 rump.ifconfig shmif0 inet 192.168.0.1/24
274 atf_check -s exit:0 rump.ifconfig shmif0 -arp
282 atf_check -s exit:0 rump.ifconfig shmif0 inet 172.16.0.1 netmask 255.255.255.0 alias
284 atf_check -s exit:0 rump.ifconfig shmif0 inet 172.16.0.1 delete
287 atf_check -s exit:0 rump.ifconfig shmif0 inet 172.16.0.1 \
290 rump.ifconfig shmif0 inet
293 atf_check -s exit:0 rump.ifconfig shmif0 metric 10
294 atf_check -s exit:0 rump.ifconfig shmif0 metric 0
297 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::1 prefixlen 70
301 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::2 anycast
302 atf_check -s exit:0 -o match:"fc00::2.+$anycast" rump.ifconfig shmif0 inet6
305 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::3 deprecated
309 atf_check -s exit:0 -o match:"fc00::3.+$deprecated" rump.ifconfig shmif0 inet6
310 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::3 -deprecated
311 atf_check -s exit:0 -o not-match:"fc00::3.+$deprecated" rump.ifconfig shmif0 inet6
314 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00::3 pltime 3
315 atf_check -s exit:0 -o not-match:"fc00::3.+$deprecated" rump.ifconfig shmif0 inet6
317 atf_check -s exit:0 -o match:"fc00::3.+$deprecated" rump.ifconfig shmif0 inet6
320 atf_check -s exit:0 rump.ifconfig shmif0 inet6 fc00:1::0 eui64
321 atf_check -s exit:0 -o match:'fc00:1::' rump.ifconfig shmif0 inet6
345 rump.ifconfig shmif0
360 atf_check -s exit:0 rump.ifconfig shmif0 $family $ip/24 up
363 -o match:'shmif0.*UP.*RUNNING' rump.ifconfig shmif0
366 -o match:"$ip.*TENTATIVE" rump.ifconfig shmif0
368 atf_check -s exit:0 rump.ifconfig -w 10
371 -o not-match:"$ip.*TENTATIVE" rump.ifconfig shmif0
374 # ifconfig down
376 atf_check -s exit:0 rump.ifconfig shmif0 down
378 -o not-match:'shmif0.*UP.*RUNNING' rump.ifconfig shmif0
381 -o match:"$ip.*DETACHED" rump.ifconfig shmif0
382 # ifconfig up
383 atf_check -s exit:0 rump.ifconfig shmif0 up
386 -o match:"$ip.*TENTATIVE" rump.ifconfig shmif0
388 atf_check -s exit:0 rump.ifconfig -w 10
391 -o not-match:"$ip.*TENTATIVE" rump.ifconfig shmif0
394 atf_check -s exit:0 rump.ifconfig shmif0 $family $ip delete
399 atf_check -s exit:0 rump.ifconfig shmif0 $family $ip/24
402 -o match:'shmif0.*UP.*RUNNING' rump.ifconfig shmif0
407 -o match:"$ip.*TENTATIVE" rump.ifconfig shmif0
409 atf_check -s exit:0 rump.ifconfig -w 10
412 -o not-match:"$ip.*TENTATIVE" rump.ifconfig shmif0
460 atf_set "descr" "tests of passing a number (if_index) to ifconfig"
471 atf_check -s not-exit:0 -e match:'Device not configured' rump.ifconfig 0
472 atf_check -s exit:0 rump.ifconfig 1 # lo0
473 atf_check -s exit:0 rump.ifconfig 2 # shmif0
474 atf_check -s not-exit:0 -e match:'Device not configured' rump.ifconfig 3
500 atf_check -s exit:0 rump.ifconfig lo0 $descr DESCRIPTION-TEST
501 atf_check -s exit:0 -o match:"DESCRIPTION-TEST" rump.ifconfig lo0
502 atf_check -s exit:0 rump.ifconfig lo0 $descr DESCRIPTION-TEST-MODIFIED
503 atf_check -s exit:0 -o match:"DESCRIPTION-TEST-MODIFIED" rump.ifconfig lo0
504 atf_check -s exit:0 rump.ifconfig lo0 -$descr
505 atf_check -s exit:0 -o not-match:'DESCRIPTION-TEST-MODIFIED' rump.ifconfig lo0
507 atf_check -s exit:0 rump.ifconfig lo0 $descr `printf "%063d" 0`
508 atf_check -s not-exit:0 -e match:"description too long" rump.ifconfig lo0 $descr `printf "%064d" 0`
509 atf_check -s exit:0 rump.ifconfig lo0 $descr ""