[krbdev.mit.edu #6355] SVN Commit

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Fri Jan 30 23:39:38 EST 2009


Change t_inetd to print a ready message when it has started listening
on the indicated port number.

Look for this message in sample.exp rather than waiting an arbitrary
(and usually excessive) 2s each time for the inetd-mode tests.  Use
run_once to perform the standalone-mode test only once per test suite
invocation.

Change rsh and rcp tests to start the servers via t_inetd and avoid
excessive waiting at startup.

In some of my tests, this reduces the tests/dejagnu tests from taking
over 6 minutes to taking around 2 minutes.

(This does mean the server process will no longer have started up
before we launch the client, so it may be slower to respond, but it'll
still be faster than the 2s delay we used before even trying to
connect.)

We can probably eliminate the -D option code from krshd.c now.

The tests run as root (rlogin, telnet) still need updating.


http://src.mit.edu/fisheye/changelog/krb5/?cs=21855
Commit By: raeburn
Revision: 21855
Changed Files:
U   trunk/src/tests/dejagnu/krb-standalone/rcp.exp
U   trunk/src/tests/dejagnu/krb-standalone/rsh.exp
U   trunk/src/tests/dejagnu/krb-standalone/sample.exp
U   trunk/src/tests/dejagnu/t_inetd.c




More information about the krb5-bugs mailing list