[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dejagnu
Subject:    Re: DejaGnu suitable for network server testing?
From:       Rob Savoye <rob () welcomehome ! org>
Date:       2008-11-26 14:57:49
Message-ID: 492D63ED.1080007 () welcomehome ! org
[Download RAW message or body]

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 -


_______________________________________________
DejaGnu mailing list
DejaGnu@gnu.org
http://lists.gnu.org/mailman/listinfo/dejagnu
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic