| 1 |
Wed Aug 25 19:27:26 2004 Joe Orton <[email protected]> |
| 2 |
|
| 3 |
* child.c (reset_socket): New function. |
| 4 |
|
| 5 |
Mon Jul 5 18:38:08 2004 Joe Orton <[email protected]> |
| 6 |
|
| 7 |
* tests.c (main): Print 'xfail' for expected failures. |
| 8 |
|
| 9 |
Tue Oct 7 21:19:56 2003 Joe Orton <[email protected]> |
| 10 |
|
| 11 |
* child.c (close_socket): New function. |
| 12 |
(server_child, spawn_server_repeat): Use it. |
| 13 |
|
| 14 |
Fri Jul 25 12:13:59 2003 Joe Orton <[email protected]> |
| 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 |
|
| 24 |
Wed Jun 18 20:10:45 2003 Joe Orton <[email protected]> |
| 25 |
|
| 26 |
* child.c (server_child, spawn_server_repeat): Adapt for new |
| 27 |
socket API. |
| 28 |
|
| 29 |
Sun Mar 9 17:52:11 2003 Joe Orton <[email protected]> |
| 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 |
|
| 36 |
Sat Mar 1 21:04:35 2003 Joe Orton <[email protected]> |
| 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 |
|
| 49 |
Wed Feb 26 21:52:15 2003 Joe Orton <[email protected]> |
| 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 |
|
| 54 |
Fri Aug 23 22:54:35 2002 Joe Orton <[email protected]> |
| 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 |
|
| 60 |
Wed Aug 21 13:29:20 2002 Joe Orton <[email protected]> |
| 61 |
|
| 62 |
* tests.h (ONCMP): New macro. |
| 63 |
|
| 64 |
Mon Aug 19 16:53:20 2002 Joe Orton <[email protected]> |
| 65 |
|
| 66 |
* child.c (lookup_localhost): Just use inet_addr to resolve |
| 67 |
127.0.0.1. |
| 68 |
|
| 69 |
Sun Aug 18 13:50:30 2002 Joe Orton <[email protected]> |
| 70 |
|
| 71 |
* tests.c (TEST_DEBUG): Add NE_DBG_SSL. |
| 72 |
|
| 73 |
Sat Aug 10 10:19:18 2002 Joe Orton <[email protected]> |
| 74 |
|
| 75 |
* child.c (server_send): Fix declaration. |
| 76 |
(discard_body): Use NE_FMT_SSIZE_T for print ssize_t's. |
| 77 |
|
| 78 |
Sat Jul 6 08:42:37 2002 Joe Orton <[email protected]> |
| 79 |
|
| 80 |
* child.c (discard_body): New function. |
| 81 |
|
| 82 |
Sun Jun 30 10:26:33 2002 Joe Orton <[email protected]> |
| 83 |
|
| 84 |
* child.c (server_send): New function. |
| 85 |
(discard_request): Fail with appropriate error. |
| 86 |
|
| 87 |
Sun Jun 30 09:03:51 2002 Joe Orton <[email protected]> |
| 88 |
|
| 89 |
* tests.c (main): Reap server after each test has run. |
| 90 |
|
| 91 |
Sun Jun 30 09:00:43 2002 Joe Orton <[email protected]> |
| 92 |
|
| 93 |
* child.c (reap_server): Set `child' to 0 so child can't be reaped |
| 94 |
twice. |
| 95 |
|
| 96 |
Sun Jun 23 12:09:09 2002 Joe Orton <[email protected]> |
| 97 |
|
| 98 |
* child.c (serve_file): Use large buffer when sending in chunked |
| 99 |
mode to support large chunk sizes. |
| 100 |
|
| 101 |
Sun Jun 23 09:35:09 2002 Joe Orton <[email protected]> |
| 102 |
|
| 103 |
* child.c (serve_file): Use NE_FMT_OFF_T and NE_FMT_SSIZE_T. |
| 104 |
|
| 105 |
Thu May 30 21:57:39 2002 Joe Orton <[email protected]> |
| 106 |
|
| 107 |
* child.c (minisleep): Export function. |
| 108 |
|
| 109 |
Sun May 19 18:23:19 2002 Joe Orton <[email protected]> |
| 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 |
|
| 116 |
Sun May 19 08:57:21 2002 Joe Orton <[email protected]> |
| 117 |
|
| 118 |
* child.c (lookup_hostname): Conditionally use hstrerror(). |
| 119 |
|
| 120 |
Mon Feb 25 20:54:56 2002 Joe Orton <[email protected]> |
| 121 |
|
| 122 |
* tests.c (t_context): Use ne_vsnprintf. |
| 123 |
|
| 124 |
Mon Feb 11 21:52:23 2002 Joe Orton <[email protected]> |
| 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 |
|
| 132 |
Mon Feb 11 20:51:27 2002 Joe Orton <[email protected]> |
| 133 |
|
| 134 |
* child.c (minisleep) [HAVE_USLEEP]: Use nice short usleep() |
| 135 |
rather than boring long sleep(). |
| 136 |
|
| 137 |
Sat Feb 2 14:15:25 2002 Joe Orton <[email protected]> |
| 138 |
|
| 139 |
* child.c (spawn_server_repeat): Exit child process (with failure) |
| 140 |
if the server callback fails. |
| 141 |
|
| 142 |
Fri Jan 4 22:06:17 2002 Joe Orton <[email protected]> |
| 143 |
|
| 144 |
* tests.h: Add SKIPREST result value. |
| 145 |
|
| 146 |
* tests.c (TEST_DEBUG): Add NE_DBG_LOCKS. (main): Support |
| 147 |
SKIPREST. |
| 148 |
|
| 149 |
Tue Jan 1 20:36:58 2002 Joe Orton <[email protected]> |
| 150 |
|
| 151 |
* tests.h: Make test_suite symbol have external linkage. |
| 152 |
|
| 153 |
Sat Nov 10 22:28:55 2001 Joe Orton <[email protected]> |
| 154 |
|
| 155 |
* tests.c, test.h: Export name of test suite. |
| 156 |
|
| 157 |
Sun Nov 4 13:56:42 2001 Joe Orton <[email protected]> |
| 158 |
|
| 159 |
* child.c (discard_request): Support retrieving arbitrary header |
| 160 |
values from request via want_request, got_request globals. |
| 161 |
|
| 162 |
Wed Oct 24 21:41:39 2001 Joe Orton <[email protected]> |
| 163 |
|
| 164 |
* tests.h (ONV): New macro. (ON, ONN): Redefine in terms of ONV. |
| 165 |
|
| 166 |
Wed Oct 24 20:44:59 2001 Joe Orton <[email protected]> |
| 167 |
|
| 168 |
* tests.c (main, t_warning, segv): Use colours when stdout is a |
| 169 |
terminal device. |
| 170 |
|
| 171 |
Wed Oct 24 20:36:38 2001 Joe Orton <[email protected]> |
| 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 |
|
| 180 |
Tue Oct 23 22:15:17 2001 Joe Orton <[email protected]> |
| 181 |
|
| 182 |
* tests.c (main): Vertically align results after warnings. |
| 183 |
|
| 184 |
Tue Oct 2 23:36:44 2001 Joe Orton <[email protected]> |
| 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 |
|
| 190 |
Sun Sep 30 10:14:35 2001 Joe Orton <[email protected]> |
| 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 |
|
| 202 |
Sat Sep 29 11:04:40 2001 Joe Orton <[email protected]> |
| 203 |
|
| 204 |
* child.c (serve_file): If 'chunks' is set in argument object, |
| 205 |
then deliver the file as a series of chunks. |
| 206 |
|
| 207 |
Thu Sep 27 20:28:45 2001 Joe Orton <[email protected]> |
| 208 |
|
| 209 |
* child.c (serve_file): New function. |
| 210 |
|
| 211 |
Thu Sep 27 20:28:41 2001 Joe Orton <[email protected]> |
| 212 |
|
| 213 |
* child.c (discard_request): Reset clength. |
| 214 |
|
| 215 |
Mon Aug 27 00:31:09 2001 Joe Orton <[email protected]> |
| 216 |
|
| 217 |
* tests.c (test_num): Expose test counter. (segv): Handle |
| 218 |
segfault nicely. |
| 219 |
|
| 220 |
Mon Aug 27 00:30:20 2001 Joe Orton <[email protected]> |
| 221 |
|
| 222 |
* child.c (discard_request): New function, from request.c in |
| 223 |
neon/test. |
| 224 |
|
| 225 |
Wed Aug 8 22:09:21 2001 Joe Orton <[email protected]> |
| 226 |
|
| 227 |
* tests.c, test.h: Only define test_argc/argv once. |
| 228 |
|
| 229 |
Mon Jul 16 16:30:28 2001 Joe Orton <[email protected]> |
| 230 |
|
| 231 |
* tests.c (warning): Take printf-style arguments list. |
| 232 |
|
| 233 |
Mon Jul 16 16:16:08 2001 Joe Orton <[email protected]> |
| 234 |
|
| 235 |
* tests.c (main): Cope with skipped tests properly. |
| 236 |
|
| 237 |
Mon Jul 16 16:00:59 2001 Joe Orton <[email protected]> |
| 238 |
|
| 239 |
* tests.c (warning): New function. (main): Cope with warnings. |
| 240 |
|
| 241 |
Sun Jul 8 16:09:33 2001 Joe Orton <[email protected]> |
| 242 |
|
| 243 |
* tests.c (main): Export argc/argv as test_argc, test_argv. |
| 244 |
|
| 245 |
|