Don't know how we could make a script for captuing from an iinterface;
these are different on each machine. Other stuff, like reading an
existing capture file, is more doable.
-Ashok
On Wed, Dec 07, 2005 at 01:24:01PM +0100, Ulf Lamping wrote:
> Hi List!
>
> I've done some substantial changes to tethereal, basically using a lot
> of code from capture_loop.c instead of the duplicate code in tethereal.c
> (it reduced it by about 400 lines of code).
>
> Now I'm a bit "frightened" to check in the changes, as I'm pretty sure
> I've introduced some new bugs.
>
> What I would like to have is a test suite to check (at least) the
> various command line options by a test script, so we can avoid these
> kind of problems in the future.
>
> I would like to have an automated test suite to check several
> functionalities:
>
> - capturing (with various conditions, interface settings, ...)
> - stop after a specific capture time
> - stop after a specific amount of time
> - stop after a number of files captured
> - check expected output strings
> - check output files (e.g. by using capinfos)
> - ...
>
> Now I'm unsure what kind of test suite should be used. It should be
> cross platform and should be easy to use (simple?).
>
> I'm pretty sure, theres already something available for this, so we
> don't have to start from scratch.
>
> Maybe a perl, bash or whatever script.
>
> We might want to add these test to the buildbot later :-)
>
> Any suggestions?
>
> Regards, ULFL
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
--
--- Asok the Intern ----------------------------------------
Ashok Narayanan
IOS Network Protocols, Cisco Systems
1414 Mass Ave, Boxborough MA 01719
Ph: 978-936-1608. Fax: 978-936-2218 (Attn: Ashok Narayanan)