summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2009-01-31 04:39:34 +0000
committerKen Raeburn <raeburn@mit.edu>2009-01-31 04:39:34 +0000
commit2beb2af7dd8e269bf10569099f2183fc23de1ba9 (patch)
tree95b43eaa9f27488b647d00ad76ffbc41e4c13e67 /src/lib
parentee7ca5ae5e6bc85b6faec83ad77c0ba3747745dd (diff)
downloadkrb5-2beb2af7dd8e269bf10569099f2183fc23de1ba9.tar.gz
krb5-2beb2af7dd8e269bf10569099f2183fc23de1ba9.tar.xz
krb5-2beb2af7dd8e269bf10569099f2183fc23de1ba9.zip
use t_inetd with a ready message and avoid waiting a lot in non-root tests
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. ticket: 6355 target_version: 1.7 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21855 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
0 files changed, 0 insertions, 0 deletions