Lines Matching +full:python3 +full:- +full:dev
2 # SPDX-License-Identifier: BSD-2-Clause
31 if ! getaddrinfo -f inet localhost 1>/dev/null 2>&1; then
37 if ! getaddrinfo -f inet6 localhost 1>/dev/null 2>&1; then
50 atf_check -s exit:0 -o save:std.out -e empty \
51 ping -4 -c 1 -s 56 -t 1 localhost
58 atf_set "descr" "Check that ping -S 127.0.0.1 localhost succeeds"
64 atf_check -s exit:0 -o save:std.out -e empty \
65 ping -c 1 -s 56 -t 1 -S 127.0.0.1 localhost
77 atf_check -s exit:0 -o save:std.out -e empty \
78 ping -6 -c 1 -s 8 -t 1 localhost
85 atf_set "descr" "Check that ping -S ::1 localhost succeeds"
91 atf_check -s exit:0 -o save:std.out -e empty \
92 ping -c 1 -s 8 -t 1 -S ::1 localhost
104 atf_check -s exit:0 -o save:std.out -e empty \
105 ping6 -c 1 -s 8 -t 1 localhost
112 atf_set "descr" "-t6 is not interpreted as -t -6 by ping"
117 atf_check -s exit:0 -o ignore -e empty ping -c1 -t6 127.0.0.1
123 atf_set "descr" "-t4 is not interpreted as -t -4 by ping6"
128 atf_check -s exit:0 -o ignore -e empty ping6 -c1 -t4 ::1
134 atf_set "descr" "-4 and -6 cannot be used simultaneously"
140 atf_check -s exit:1 \
141 -e match:"illegal option -- 6" \
142 ping -4 -6 localhost
148 atf_set "descr" "-4 and -6 cannot be used simultaneously"
154 atf_check -s exit:1 \
155 -e match:"illegal option -- 4" \
156 ping -6 -4 localhost
162 atf_set "descr" "ping6 does not accept -4"
168 atf_check -s exit:1 \
169 -e match:"illegal option -- 4" \
170 ping6 -4 localhost
180 atf_check -s exit:68 -e match:"cannot resolve" \
181 ping nonexistent.in-addr.arpa.
187 atf_set "descr" "ping -4 a nonexistent host"
191 atf_check -s exit:68 -e match:"cannot resolve" \
192 ping -4 nonexistent.in-addr.arpa.
198 atf_set "descr" "ping -6 a nonexistent host"
202 atf_check -s exit:68 -e match:"cannot resolve" \
203 ping -6 nonexistent.in-addr.arpa.
211 atf_set "require.progs" "python3" "scapy"
215 …atf_check -s exit:0 -o match:"wrong total length" -o match:"NOP" python3 $(atf_get_srcdir)/injecti…
227 atf_set "require.progs" "python3" "scapy"
231 …atf_check -s exit:2 -o match:"Destination Host Unreachable" -o match:"(01){40}" python3 $(atf_get_…
245 atf_set "require.progs" "python3" "scapy"
249 …atf_check -s exit:0 -o match:"1 packets transmitted, 1 packets received" python3 $(atf_get_srcdir)…
278 sed -e 's/0.[0-9]\{3\}//g' \
279 -e 's/[1-9][0-9]*.[0-9]\{3\}//g' \
280 -e 's/localhost ([0-9]\{1,3\}\(\.[0-9]\{1,3\}\)\{1,3\})/localhost/' \
281 -e 's/from [0-9]\{1,3\}\(\.[0-9]\{1,3\}\)\{1,3\}/from/' \
282 -e 's/ttl=[0-9][0-9]*/ttl=/' \
283 -e 's/hlim=[0-9][0-9]*/hlim=/' \
285 atf_check -s exit:0 diff -u "$1".filtered "$2"