8 if .
/$executable $opt; then
9 echo "ok $number - $comment"
11 echo "not ok $number - $comment"
17 executable
=`basename $0 .t`
19 make $executable 2>&1 > /dev
/null
22 #Tests with hints.ai_family is set to PF_UNSPEC
23 do_test
1 'getaddrinfo() (PF_UNSPEC)' '-f mach'
24 do_test
2 'getaddrinfo() snapshot (PF_UNSPEC)' '-f mach -s snapshot_ai'
26 #Tests with hints.ai_family is set to PF_INET
27 do_test
3 'getaddrinfo() (PF_INET)' '-f mach'
28 do_test
4 'getaddrinfo() snapshot (PF_INET)' '-4 -f mach -s snapshot_ai4'
30 #Tests with hints.ai_family is set to PF_INET6
31 do_test
5 'getaddrinfo() (PF_INET6)' '-f mach'
32 do_test
6 'getaddrinfo() snapshot (PF_INET6)' '-6 -f mach -s snapshot_ai6'