1Wed Aug 25 19:27:26 2004  Joe Orton  <joe@manyfish.co.uk>
2
3	* child.c (reset_socket): New function.
4
5Mon Jul  5 18:38:08 2004  Joe Orton  <joe@manyfish.co.uk>
6
7	* tests.c (main): Print 'xfail' for expected failures.
8
9Tue Oct  7 21:19:56 2003  Joe Orton  <joe@manyfish.co.uk>
10
11	* child.c (close_socket): New function.
12	(server_child, spawn_server_repeat): Use it.
13
14Fri Jul 25 12:13:59 2003  Joe Orton  <joe@manyfish.co.uk>
15
16	Add support for test type which is expected to fail
17	memory leak checks.
18	
19	* tests.h (T_XLEAKY, T_EXPECT_LEAKS): New defines.
20
21	* test.c (main) [NEON_MEMLEAK]: If T_EXPECT_LEAKS is set, fail if
22	the test did not leak memory.
23
24Wed Jun 18 20:10:45 2003  Joe Orton  <joe@manyfish.co.uk>
25
26	* child.c (server_child, spawn_server_repeat): Adapt for new
27	socket API.
28
29Sun Mar  9 17:52:11 2003  Joe Orton  <joe@manyfish.co.uk>
30
31	* test.h (T_EXPECT_FAIL): New constant.
32	(T_XFAIL): New test function wrapper.
33	
34	* tests.c (main): Handle expected failures.
35
36Sat Mar  1 21:04:35 2003  Joe Orton  <joe@manyfish.co.uk>
37
38	Extend the ne_test structure with a 'flags' field which can
39	optionally request leak checking at run-time.
40	
41	* tests.h (ne_test): Add 'flags' field.
42	(T_CHECK_LEAKS): New flag.
43	(T): Use T_CHECK_LEAKS flag by default.
44	(T_LEAKY): Like T, but with no flags set.
45
46	* tests.c (main) [NEON_MEMLEAK]: If leak checking is requested,
47	if a test passes, but leaks memory, fail the test.
48
49Wed Feb 26 21:52:15 2003  Joe Orton  <joe@manyfish.co.uk>
50
51	* tests.c (main): Test the "disable debugging" mode of
52	ne_debug_init, NE_DBG_FLUSH, and a ne_debug() with no output.
53
54Fri Aug 23 22:54:35 2002  Joe Orton  <joe@manyfish.co.uk>
55
56	* tests.c (main): Call ne_sock_init after ne_debug_init, so that
57	debugging messages are caught from ne_sock_init.  Print a warning
58	message if ne_sock_init fails.
59
60Wed Aug 21 13:29:20 2002  Joe Orton  <joe@manyfish.co.uk>
61
62	* tests.h (ONCMP): New macro.
63
64Mon Aug 19 16:53:20 2002  Joe Orton  <joe@manyfish.co.uk>
65
66	* child.c (lookup_localhost): Just use inet_addr to resolve
67	127.0.0.1.
68
69Sun Aug 18 13:50:30 2002  Joe Orton  <joe@manyfish.co.uk>
70
71	* tests.c (TEST_DEBUG): Add NE_DBG_SSL.
72
73Sat Aug 10 10:19:18 2002  Joe Orton  <joe@manyfish.co.uk>
74
75	* child.c (server_send): Fix declaration.
76	(discard_body): Use NE_FMT_SSIZE_T for print ssize_t's.
77
78Sat Jul  6 08:42:37 2002  Joe Orton  <joe@manyfish.co.uk>
79
80	* child.c (discard_body): New function.
81
82Sun Jun 30 10:26:33 2002  Joe Orton  <joe@manyfish.co.uk>
83
84	* child.c (server_send): New function.
85	(discard_request): Fail with appropriate error.
86
87Sun Jun 30 09:03:51 2002  Joe Orton  <joe@manyfish.co.uk>
88
89	* tests.c (main): Reap server after each test has run.
90
91Sun Jun 30 09:00:43 2002  Joe Orton  <joe@manyfish.co.uk>
92
93	* child.c (reap_server): Set `child' to 0 so child can't be reaped
94	twice.
95
96Sun Jun 23 12:09:09 2002  Joe Orton  <joe@manyfish.co.uk>
97
98	* child.c (serve_file): Use large buffer when sending in chunked
99	mode to support large chunk sizes.
100
101Sun Jun 23 09:35:09 2002  Joe Orton  <joe@manyfish.co.uk>
102
103	* child.c (serve_file): Use NE_FMT_OFF_T and NE_FMT_SSIZE_T.
104
105Thu May 30 21:57:39 2002  Joe Orton  <joe@manyfish.co.uk>
106
107	* child.c (minisleep): Export function.
108
109Sun May 19 18:23:19 2002  Joe Orton  <joe@manyfish.co.uk>
110
111	* child.c, tests.c: s/sock_/ne_sock_/, s/SOCK_/NE_SOCK_/ for
112	socket layer API change.
113
114	* child.h (SEND_STRING): New macro.
115
116Sun May 19 08:57:21 2002  Joe Orton  <joe@manyfish.co.uk>
117
118	* child.c (lookup_hostname): Conditionally use hstrerror().
119
120Mon Feb 25 20:54:56 2002  Joe Orton  <joe@manyfish.co.uk>
121
122	* tests.c (t_context): Use ne_vsnprintf.
123
124Mon Feb 11 21:52:23 2002  Joe Orton  <joe@manyfish.co.uk>
125
126	* child.c (lookup_hostname): New function.
127	(server_child, do_listen): Pass around struct in_addr argument.
128	(spawn_server_addr): Renamed from spawn_server, take bind_local
129	flag to use localhost or "real" hostname to bind to.
130	(spawn_server): New function, use spawn_server
131
132Mon Feb 11 20:51:27 2002  Joe Orton  <joe@manyfish.co.uk>
133
134	* child.c (minisleep) [HAVE_USLEEP]: Use nice short usleep()
135	rather than boring long sleep().
136
137Sat Feb  2 14:15:25 2002  Joe Orton  <joe@manyfish.co.uk>
138
139	* child.c (spawn_server_repeat): Exit child process (with failure)
140	if the server callback fails.
141
142Fri Jan  4 22:06:17 2002  Joe Orton  <joe@manyfish.co.uk>
143
144	* tests.h: Add SKIPREST result value.
145	
146	* tests.c (TEST_DEBUG): Add NE_DBG_LOCKS.  (main): Support
147	SKIPREST.
148
149Tue Jan  1 20:36:58 2002  Joe Orton  <joe@manyfish.co.uk>
150
151	* tests.h: Make test_suite symbol have external linkage.
152
153Sat Nov 10 22:28:55 2001  Joe Orton  <joe@manyfish.co.uk>
154
155	* tests.c, test.h: Export name of test suite.
156
157Sun Nov  4 13:56:42 2001  Joe Orton  <joe@manyfish.co.uk>
158
159	* child.c (discard_request): Support retrieving arbitrary header
160	values from request via want_request, got_request globals.
161
162Wed Oct 24 21:41:39 2001  Joe Orton  <joe@manyfish.co.uk>
163
164	* tests.h (ONV): New macro.  (ON, ONN): Redefine in terms of ONV.
165
166Wed Oct 24 20:44:59 2001  Joe Orton  <joe@manyfish.co.uk>
167
168	* tests.c (main, t_warning, segv): Use colours when stdout is a
169	terminal device.
170
171Wed Oct 24 20:36:38 2001  Joe Orton  <joe@manyfish.co.uk>
172
173	* tests.c (t_context, t_warning): Renamed from i_am, warning.
174	(t_context): Take printf varargs. 
175
176	* tests.h (ONN, ON): Update, simplify.
177
178	* child.c: Update.
179
180Tue Oct 23 22:15:17 2001  Joe Orton  <joe@manyfish.co.uk>
181
182	* tests.c (main): Vertically align results after warnings.
183
184Tue Oct  2 23:36:44 2001  Joe Orton  <joe@manyfish.co.uk>
185
186	* child.c (do_listen): Refactored from server_socket, only does
187	bind/listen.  (spawn_server): Moved awaken/accept calls here.
188	(spawn_server_repeat, dead_server): New functions.
189
190Sun Sep 30 10:14:35 2001  Joe Orton  <joe@manyfish.co.uk>
191
192	* tests.h: Use a function/name structure for tests, add 'T' macro
193	for easily writing initializers.  Rename 'name' global variable to
194	'test_context' to avoid parameter name collisions.
195
196	* child.c (spawn_server): Update accordingly.
197
198	* tests.c (i_am): Update accordingly.  (main): Update; prettify
199	output using new 'name' from test structure. Cope better when all
200	tests in a suite are skipped.
201
202Sat Sep 29 11:04:40 2001  Joe Orton  <joe@manyfish.co.uk>
203
204	* child.c (serve_file): If 'chunks' is set in argument object,
205	then deliver the file as a series of chunks.
206
207Thu Sep 27 20:28:45 2001  Joe Orton  <joe@manyfish.co.uk>
208
209	* child.c (serve_file): New function.
210
211Thu Sep 27 20:28:41 2001  Joe Orton  <joe@manyfish.co.uk>
212
213	* child.c (discard_request): Reset clength.
214
215Mon Aug 27 00:31:09 2001  Joe Orton  <joe@manyfish.co.uk>
216
217	* tests.c (test_num): Expose test counter.  (segv): Handle
218	segfault nicely.
219
220Mon Aug 27 00:30:20 2001  Joe Orton  <joe@manyfish.co.uk>
221
222	* child.c (discard_request): New function, from request.c in
223	neon/test.
224
225Wed Aug  8 22:09:21 2001  Joe Orton  <joe@manyfish.co.uk>
226
227	* tests.c, test.h: Only define test_argc/argv once.
228
229Mon Jul 16 16:30:28 2001  Joe Orton  <joe@manyfish.co.uk>
230
231	* tests.c (warning): Take printf-style arguments list.
232
233Mon Jul 16 16:16:08 2001  Joe Orton  <joe@manyfish.co.uk>
234
235	* tests.c (main): Cope with skipped tests properly.
236
237Mon Jul 16 16:00:59 2001  Joe Orton  <joe@manyfish.co.uk>
238
239	* tests.c (warning): New function.  (main): Cope with warnings.
240
241Sun Jul  8 16:09:33 2001  Joe Orton  <joe@manyfish.co.uk>
242
243	* tests.c (main): Export argc/argv as test_argc, test_argv.
244
245
246