regression tests: Properly handle adnshost et al exit status
[adns] / regress / case-srvqudom.sys
1 ./adnshost default
2 -Qq -t srv- srv.tcp.test.iwj.relativity.greenend.org.uk. spong. _foo._bar. _s*a._tcp.ucam.org. _s*a._tcp.pi&ckle.ucam.org
3 start 1144349124.698466
4 socket domain=AF_INET type=SOCK_DGRAM
5 socket=6
6 +0.000082
7 fcntl fd=6 cmd=F_GETFL
8 fcntl=~O_NONBLOCK&...
9 +0.000049
10 fcntl fd=6 cmd=F_SETFL O_NONBLOCK|...
11 fcntl=OK
12 +0.000042
13 sendto fd=6 addr=172.18.45.6:53
14 311f0100 00010000 00000000 03737276 03746370 04746573 74036977 6a0a7265
15 6c617469 76697479 08677265 656e656e 64036f72 6702756b 00002100 01.
16 sendto=61
17 +0.000339
18 sendto fd=6 addr=172.18.45.6:53
19 31200100 00010000 00000000 0573706f 6e670000 210001.
20 sendto=23
21 +0.000194
22 sendto fd=6 addr=172.18.45.6:53
23 31210100 00010000 00000000 045f666f 6f045f62 61720000 210001.
24 sendto=27
25 +0.000183
26 sendto fd=6 addr=172.18.45.6:53
27 31220100 00010000 00000000 045f732a 61045f74 63700475 63616d03 6f726700
28 00210001.
29 sendto=36
30 +0.000224
31 sendto fd=6 addr=172.18.45.6:53
32 31230100 00010000 00000000 045f732a 61045f74 63700770 6926636b 6c650475
33 63616d03 6f726700 00210001.
34 sendto=44
35 +0.000210
36 select max=7 rfds=[6] wfds=[] efds=[] to=1.998850
37 select=1 rfds=[6] wfds=[] efds=[]
38 +0.005770
39 recvfrom fd=6 buflen=512
40 recvfrom=OK addr=172.18.45.6:53
41 311f8583 00010000 00010000 03737276 03746370 04746573 74036977 6a0a7265
42 6c617469 76697479 08677265 656e656e 64036f72 6702756b 00002100 01c01400
43 06000100 00000a00 27036e73 30c01d0a 686f7374 6d617374 6572c01d 0000003b
44 00000e10 00000078 0064c800 0000000a.
45 +0.000206
46 recvfrom fd=6 buflen=512
47 recvfrom=EAGAIN
48 +0.000068
49 select max=7 rfds=[6] wfds=[] efds=[] to=1.993145
50 select=1 rfds=[6] wfds=[] efds=[]
51 +0.002367
52 recvfrom fd=6 buflen=512
53 recvfrom=OK addr=172.18.45.6:53
54 31218183 00010000 00010000 045f666f 6f045f62 61720000 21000100 00060001
55 0000299a 00400141 0c524f4f 542d5345 52564552 53034e45 5400054e 53544c44
56 0c564552 49534947 4e2d4752 5303434f 4d007791 bfb50000 07080000 03840009
57 3a800001 5180.
58 +0.000176
59 recvfrom fd=6 buflen=512
60 recvfrom=EAGAIN
61 +0.000055
62 select max=7 rfds=[6] wfds=[] efds=[] to=1.990547
63 select=1 rfds=[6] wfds=[] efds=[]
64 +0.000085
65 recvfrom fd=6 buflen=512
66 recvfrom=OK addr=172.18.45.6:53
67 31228183 00010000 00010000 045f732a 61045f74 63700475 63616d03 6f726700
68 00210001 c0160006 00010000 0d94004c 0a736f61 2d6f7269 67696e02 6e730663
69 68696172 6b086772 65656e65 6e64036f 72670275 6b000f73 74756465 6e742d72
70 756e2d64 6e73c03e 00000121 00002a30 00000e10 00093a80 00000e10.
71 +0.000186
72 recvfrom fd=6 buflen=512
73 recvfrom=EAGAIN
74 +0.000058
75 select max=7 rfds=[6] wfds=[] efds=[] to=1.990218
76 select=1 rfds=[6] wfds=[] efds=[]
77 +0.028718
78 recvfrom fd=6 buflen=512
79 recvfrom=OK addr=172.18.45.6:53
80 31208183 00010000 00010000 0573706f 6e670000 21000100 00060001 00002a30
81 00400141 0c524f4f 542d5345 52564552 53034e45 5400054e 53544c44 0c564552
82 49534947 4e2d4752 5303434f 4d007791 bfb50000 07080000 03840009 3a800001
83 5180.
84 +0.000172
85 recvfrom fd=6 buflen=512
86 recvfrom=EAGAIN
87 +0.000052
88 select max=7 rfds=[6] wfds=[] efds=[] to=1.961877
89 select=1 rfds=[6] wfds=[] efds=[]
90 +0.004777
91 recvfrom fd=6 buflen=512
92 recvfrom=OK addr=172.18.45.6:53
93 31238183 00010000 00010000 045f732a 61045f74 63700770 6926636b 6c650475
94 63616d03 6f726700 00210001 04756361 6d036f72 67000006 00010000 0e10004c
95 0a736f61 2d6f7269 67696e02 6e730663 68696172 6b086772 65656e65 6e64036f
96 72670275 6b000f73 74756465 6e742d72 756e2d64 6e73c04e 00000121 00002a30
97 00000e10 00093a80 00000e10.
98 +0.000218
99 recvfrom fd=6 buflen=512
100 recvfrom=EAGAIN
101 +0.000055
102 close fd=6
103 close=OK
104 +0.000078
105 exit 6