[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DejaGnu suitable for network server testing?

From: Rob Savoye
Subject: Re: DejaGnu suitable for network server testing?
Date: Wed, 26 Nov 2008 07:57:49 -0700
User-agent: Thunderbird (X11/20081119)

Rainer Gerhards wrote:

> the wrong path. So actually a quick yes or no type of answer would be
> fine with me.

  Yes. :-)

> I am in the process at building test suites for my rsyslog project.
> This is a GPLv3 syslogd replacement. Almost all tests involve running
> a server instance of the daemon, running some other tool to send data
> to it, shut down the daemon and examine logs. For some test cases, it
> would also be useful to start up two different instances of the daemon
> plus an additional tool and check if inter-daemon traffic is correctly
> handled. The instances need not run on different machines (it is a
> plus if that's possible, but I'll probably limit my test cases to a
> single machine at first - I am happy if I can come that far...).

  From within the test driver that runs your test cases you can "spawn"
multiple programs, and control all of them from the same place. This has
been used many times over the years for network testing. Samba uses it,
and I'm using this technique now for testing Cygnal, the video server
side of the Gnash project.

        - rob -

reply via email to

[Prev in Thread] Current Thread [Next in Thread]