1 2002-02-01 Gary Thomas <gthomas@redhat.com>
3 * tests/slowpingmux.c (ping_test):
4 * tests/routeping.inl: (ping_test):
5 * tests/floodpingmux.c: (net_test):
6 * tests/autohost.inl (autohost_tell):
7 * host/awaitorder.c (main): Need valid value for sin_len.
9 2001-10-10 Hugo Tyson <hmt@redhat.com>
12 * tests/floodpingmux.c:
16 More conditional compilation needed for use of eth0_up, eth1_up
17 and the like, since the config opt is now a boolean and so these
20 2001-06-26 Hugo Tyson <hmt@redhat.com>
22 * tests/routeping.inl (route_add_s): Add a close to the socket.
23 Don't be upset if you can't ping www.cygnus.com by number!
25 2000-12-08 Hugo Tyson <hmt@redhat.com>
27 * host/tftpget.sh (TARGET): Try a little harder to put a correct
28 test dataset into the target; we are testing GET not PUT here. We
29 are seeing get fails of 1Mb data on the zeroth try; it could be a
30 real get bug, or problems putting the original image. This change
31 should help diagnose which.
33 * tests/slowpingmux.c (ping_host): Make this much less verbose in
34 [good] output; the farm rejects too much chatter.
36 2000-11-17 Hugo Tyson <hmt@redhat.com>
38 * tests/memcheck.inl (memcheck_final): Ignore clusters if
39 simulating network failures; I guess memory is used up with
40 partial packets awaiting reassembly, and they'll time out.
42 * tests/routeping.inl (net_test): Call TNR_ON/OFF() correctly.
44 * tests/slowpingmux.c (net_test): Call TNR_ON/OFF() correctly.
46 * tests/floodpingmux.c (net_test): Only call TNR_INIT() once.
47 Call TNR_OFF(); again after dumpstats() turned it on again.
48 Call TNR_ON/OFF() correctly.
50 * tests/autohost.inl (autohost_getresults): Add a missing
51 semicolon. Doh! Only a problem with realtime test harness
54 2000-11-15 Hugo Tyson <hmt@redhat.com>
56 * doc/host.txt: Updated.
58 2000-11-15 Hugo Tyson <hmt@redhat.com>
60 * cdl/net_autotest.cdl: Build the new tests.
62 * tests/routeping.inl: New file: the meat of a testcase to check
63 that external networks are only accessible if we have added a
64 suitable route. This requires a further network called 10.0.3.x
65 attached to the machine that serves DHCP to eth0, and one called
66 10.0.4.x on the server for eth1. These can both be aliases for
67 loopback on the linux host if needs be.
73 New files: Various invocations of the above. These just make a
74 few #defines then #include "routeping.inl"
76 2000-11-10 Hugo Tyson <hmt@redhat.com>
78 * tests/autohost.inl (autohost_init): Call the memory checking
79 init and finalization functions in the appropriate places.
81 * tests/memcheck.inl (RATIO): New file; check for mbuf &c leaks
82 (if the API is defined in network.h, so it it'll work with the 144
83 tarball). We allow either as much again or 15% of memory to be
84 used at the end of the test, for each of the 3 memory regions the
87 * tests/floodpingmux.c (net_test): Don't print out mbuf &c usage,
88 leave it up to the memory checking subsystem.
90 2000-11-10 Hugo Tyson <hmt@redhat.com>
92 * host/obey.sh: Handle the new case of doing snmpwalk and
93 snmpstatus to the target. (SNMP_WALK)
95 * cdl/net_autotest.cdl: Build the new tests.
97 * host/snmpwalk.sh: New file: snmpwalk the target's public MIB and
98 check target status for the timeout. Much like the other cases.
100 * tests/snmpwalk.c: New file: do one snmpwalk session on each
103 * tests/snmpmulti.c: New file: ditto, 3 sessions per i/f.
105 * tests/snmppings.c: New file: ditto, 2 x snmp, plus some pinging
106 and flood pinging simulataneously.
108 2000-11-09 Hugo Tyson <hmt@redhat.com>
110 * host/obey.sh: Handle the new case of flood pinging the
113 * host/floodping.sh: New file: flood ping the target, with a
114 variable active/sleep ratio so that we can use this to perturb
115 other tests also. An suid executable "./_suping" is needed to be
116 able to flood ping automatically.
118 * cdl/net_autotest.cdl: Build the two new tests.
120 * tests/floodping.c: New file: ask the host to flood ping me, for
121 5 minutes in the usual manner.
123 * tests/floodpingmux.c: New file: as floodping.c and the target
124 floods the host in turn also.
126 * host/makefile: Build _suping: it must be set uid &c manually.
128 * host/_suping.c: New file: a tiny su root program to run ping
129 with real uid root (ping is suid root anyway) to allow us to flood
132 2000-11-08 Hugo Tyson <hmt@redhat.com>
134 * tests/autohost.inl (XFAIL): Detect the configuration that means
135 simulated unreliable network is enabled. Send the XFAIL parameter
136 to the network testing server if so. Also do not check for the
137 count of pass messages required in the autohost_end() routine; we
138 expect them to go missing and/or there to be failures per se.
140 * host/obey.sh (XFAIL): Detect and pass through the XFAIL
141 parameter to indicate simulated unreliable network is enabled.
143 * host/tftpget.sh (XFAIL):
144 * host/tftpput.sh (XFAIL):
145 * host/slowping.sh (XFAIL): If XFAIL, do not report failures as
146 such; also echo the process ID ($$) in messages to help untangle
147 the interleaved status messages.
149 * host/sendack.sh (XFAIL): Try less zealously and moan less loudly
150 if failure is expected.
152 * doc/host.txt: Document XFAIL stuff.
154 2000-10-26 Hugo Tyson <hmt@redhat.com>
156 * tests/slowping.c (net_test): New file:
157 * tests/slowpingmux.c (net_test): New file: simple test, the host
158 pings the target (a lot, 10x simultaneously), while the target
159 also pings the host in slowpingmux.
161 * host/slowping.sh (TARGET): New file: handle target side of ping
164 * cdl/net_autotest.cdl: Build the new tests.
166 2000-10-26 Hugo Tyson <hmt@redhat.com>
168 * tests/tftp_serv.inl (do_tftp_tests): Fix typo in info printf;
169 nothing of substance.
171 2000-10-25 Hugo Tyson <hmt@redhat.com>
173 * permtests/netauto_bootp.ptest: net with bootp only init.
174 * permtests/netauto_corrupt.ptest: net + 10% rx corruption.
175 * permtests/netauto_failrx.ptest: net + 10% rx discards.
176 * permtests/netauto_failtx.ptest: net + 10% tx discards.
177 * permtests/netauto_rt.ptest: net + snmp + realtime test.
178 * permtests/netauto_snmp.ptest: net + snmp.
179 * permtests/netauto_std.ptest: standard net config
180 New files; permtest configurations for farm testing.
182 2000-10-24 Hugo Tyson <hmt@redhat.com>
184 * doc/host.txt: More info added; kept up to date.
186 2000-10-24 Hugo Tyson <hmt@redhat.com>
188 * tests/tftp_serv.inl: New file, the guts of both tftp_serv_get.c
189 and tftp_serv_put.c removed to here, so that a number of tests can
190 be created to hit the server with different sizes of datafile.
191 This is the easiest way to test lots of different filesizes and
192 edge conditions; just replicate the testcase.
194 * tests/tftp_serv_put.c (FILESIZE):
195 * tests/tftp_serv_get.c (FILESIZE): Use "tftp_serv.inl" with a
196 coupla #defines for the op and the filesize to implement the test.
198 * tests/tftp_serv_g0.c: New: get zero and 1-byte datafiles.
199 * tests/tftp_serv_g1M.c: New: get 1Mb and 1Mb-1 datafiles.
200 * tests/tftp_serv_g512.c: New: get 512 and 513-byte datafiles.
201 * tests/tftp_serv_p0.c: New: put zero and 1-byte datafiles.
202 * tests/tftp_serv_p1M.c: New: put 1Mb and 1Mb-1 datafiles.
203 * tests/tftp_serv_p512.c: New: put 512 and 513-byte datafiles.
205 * cdl/net_autotest.cdl: Build all the new testcases to diddle
206 different file sizes.
208 * host/tftpput.sh (TARGET): Do not read back the file every time;
209 check the gotton file once at the end correctly; count up the
212 * host/tftpget.sh (TARGET): Check the gotton file correctly; count
213 up the transfers for info.
215 2000-10-23 Hugo Tyson <hmt@redhat.com>
217 * host/tftpdata.src: DELETED: we now make our own data files on
220 * host/makefile (tmpfile): Build this. Also add a make clean.
222 * host/tmpfile.c (main): New file: builds to a simple executable
223 that makes a scratch file full of random data of the length
224 requested. A simple but order-sensitive checksum is appended,
225 though the testcase doesn't use this yet.
227 * tests/tftp_serv_put.c (do_tftp_tests):
228 * tests/tftp_serv_get.c (do_tftp_tests): Pass a filesize to the
229 test script; it will make a temp file accordingly.
232 * host/tftpget.sh: Parameterize these more so that they accept a
233 filesize; the data file is created with random data.
235 2000-10-20 Hugo Tyson <hmt@redhat.com>
237 * doc/host.txt: New file. Details the host side code, scripts,
238 environment, tempfiles, conventions, output...
240 * doc/strategy.txt: New file. The original design notes.
242 * host/obey.sh: Correct typo and add . to the path; stupid
243 pedantic environment.
245 2000-10-20 Hugo Tyson <hmt@redhat.com>
247 * tests/tftp_serv_get.c (net_test):
248 * tests/tftp_serv_put.c (net_test): Use the new API, and remember
249 how many host sessions we expected to invoke.
251 * tests/autohost.inl (autohost_end): New API to check counts of
252 PASS and FAIL statii from the hosts.
254 2000-10-19 Hugo Tyson <hmt@redhat.com>
256 * Changelog: New file.
257 * cdl/net_autotest.cdl: New file.
258 * host/awaitorder.c: New file.
259 * host/makefile: New file.
260 * host/obey.sh: New file.
261 * host/sendack.sh: New file.
262 * host/tftpdata.src: New file.
263 * host/tftpget.sh: New file.
264 * host/tftpput.sh: New file.
265 * tests/autohost.inl: New file.
266 * tests/tftp_serv_get.c: New file.
267 * tests/tftp_serv_put.c: New file.
268 Indeed a new package, even. Documentation will be forthcoming.
270 //===========================================================================
271 //####ECOSGPLCOPYRIGHTBEGIN####
272 // -------------------------------------------
273 // This file is part of eCos, the Embedded Configurable Operating System.
274 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
276 // eCos is free software; you can redistribute it and/or modify it under
277 // the terms of the GNU General Public License as published by the Free
278 // Software Foundation; either version 2 or (at your option) any later version.
280 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY
281 // WARRANTY; without even the implied warranty of MERCHANTABILITY or
282 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
285 // You should have received a copy of the GNU General Public License along
286 // with eCos; if not, write to the Free Software Foundation, Inc.,
287 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
289 // As a special exception, if other files instantiate templates or use macros
290 // or inline functions from this file, or you compile this file and link it
291 // with other works to produce a work based on this file, this file does not
292 // by itself cause the resulting work to be covered by the GNU General Public
293 // License. However the source code for this file must still be made available
294 // in accordance with section (3) of the GNU General Public License.
296 // This exception does not invalidate any other reasons why a work based on
297 // this file might be covered by the GNU General Public License.
299 // -------------------------------------------
300 //####ECOSGPLCOPYRIGHTEND####
301 //===========================================================================