Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: binary MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) From: tlyu@mit.edu Subject: SVN Commit RT-Send-CC: X-RT-Original-Encoding: iso-8859-1 Content-Length: 1864 pull up r21855 from trunk ------------------------------------------------------------------------ r21855 | raeburn | 2009-01-30 23:39:34 -0500 (Fri, 30 Jan 2009) | 28 lines Changed paths: M /trunk/src/tests/dejagnu/krb-standalone/rcp.exp M /trunk/src/tests/dejagnu/krb-standalone/rsh.exp M /trunk/src/tests/dejagnu/krb-standalone/sample.exp M /trunk/src/tests/dejagnu/t_inetd.c ticket: 6355 subject: use t_inetd with a ready message and avoid waiting a lot in non-root tests target_version: 1.7 tags: pullup 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. ------------------------------------------------------------------------ https://github.com/krb5/krb5/commit/219de11c9c6d83220ef4fdc2662b0e018f9bf36f Commit By: tlyu Revision: 22006 Changed Files: U branches/krb5-1-7/src/tests/dejagnu/krb-standalone/rcp.exp U branches/krb5-1-7/src/tests/dejagnu/krb-standalone/rsh.exp U branches/krb5-1-7/src/tests/dejagnu/krb-standalone/sample.exp U branches/krb5-1-7/src/tests/dejagnu/t_inetd.c