summaryrefslogtreecommitdiffstats
path: root/src/tests/dejagnu/krb-standalone/rsh.exp
Commit message (Collapse)AuthorAgeFilesLines
* Unbundle applications into separate repositoryGreg Hudson2009-11-221-294/+0
| | | | | | | | | | | | | | | Remove libpty, gssftp, telnet, and the bsd applications from the source tree, build system, and tests. Docs still need to be updated to remove mentions of the applications. The build system should be simplified now that we're down to one configure script and don't need some of the functionality currently in aclocal.m4. ticket: 6583 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23305 dc483132-0cff-0310-8789-dd5450dbe970
* use t_inetd with a ready message and avoid waiting a lot in non-root testsKen Raeburn2009-01-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* * krb-root/rlogin.exp (start_rlogin_daemon): Use built-in sleep command.Ken Raeburn2005-01-121-1/+1
| | | | | | | | | | | | * krb-root/telnet.exp (start_telnet_daemon): Likewise. * krb-standalone/gssftp.exp (start_ftp_daemon): Use built-in sleep command. * krb-standalone/rcp.exp (start_rsh_daemon): Likewise. * krb-standalone/rsh.exp (start_rsh_daemon): Likewise. * krb-standalone/sample.exp (start_sserver_daemon): Likewise. * krb-standalone/v4gssftp.exp (start_ftp_daemon): Likewise. * krb-standalone/v4krb524d.exp (start_k524_daemon): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17016 dc483132-0cff-0310-8789-dd5450dbe970
* Set new variable portbase to supplied $PORTBASE or a default.Ken Raeburn2004-03-151-8/+10
| | | | | | | | | Use it to compute all port numbers. This should help reduce conflicts between multiple simultaneous test runs, if they supply different $PORTBASE values. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16169 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp (stop_rsh_daemon): Check for any output before eof, causing any suchKen Raeburn2004-02-261-1/+7
| | | | | | | info to be dumped into the debug log. * rsh.exp (stop_rsh_daemon): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16127 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp (rsh_test): Explicitly call stop_rsh_daemon upon passTom Yu2002-09-301-0/+1
| | | | | | for "encrypted rsh" test, to avoid zombies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14908 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date-grabbing regexp to deal with older versions ofEzra Peisach2001-12-051-1/+1
| | | | | | | | expect/tcl that have limited regexp capabilities. Pullup from 1-2-3 branch git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14044 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date grabbing code so we don't try to parse theTom Yu2001-11-021-4/+4
| | | | | | | timezone-less date out of of a syslog message. expect eof in places to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13932 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp, rsh_exp (stop_rsh_daemon): Do not close a process andEzra Peisach2001-10-261-1/+1
| | | | | | | | then look for eof. Some versions of expect go through a full timeout in this scenario and others return immediately. New order: kill process, expect eof, close, and then wait. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13866 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp (rsh_test): Add stop_rsh_daemon before invokingEzra Peisach2001-10-251-1/+2
| | | | | | start_rsh_daemon again to prevent running out of ptys. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13846 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp (stop_rsh_daemon): Call "expect eof" to drain pty bufferTom Yu2001-10-241-0/+2
| | | | | | | | | and avoid deadlock. * rsh.exp (stop_rsh_daemon, rsh_test): Call "expect eof" to drain pty buffer and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13837 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Use $tmppwd rather than hardcoding tmpdirTom Yu2001-06-221-1/+1
| | | | | | | | | | | | | | | | * kadmin.exp: Use $tmppwd rather than hardcoding tmpdir. * rcp.exp: Use $tmppwd rather than hardcoding tmpdir. * rsh.exp: Rearrange ordering of environment setup slightly. * standalone.exp: Use $KLIST -5 -e so as to better debug enctype problems. * v4gssftp.exp: Do check_klogin as well as check_k5login. Use $tmppwd rather than hardcoding tmpdir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13501 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Drain buffers on klist test to avoid wedging rsh onTom Yu2000-07-051-2/+6
| | | | | | exit under HP/UX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12533 dc483132-0cff-0310-8789-dd5450dbe970
* * standalone.exp: Use $KLIST -5 and $KDESTROY -5 to deal withTom Yu2000-02-061-1/+1
| | | | | | | | | | | changed behavior in these programs. Wait for eof in some cases to avoid hanging. * rsh.exp: Wait for eof to prevent hanging. * gssapi.exp: Use $KINIT -5 to deal with new kinit behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12004 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Setup a wrapper script in executing klist in the remoteEzra Peisach1996-05-061-2/+8
| | | | | | | | | shell so that environment variables are properly set. * kadmin.exp: (kpasswd_cpw): After giving new password, wait for the newline or we hang waiting for the process to finish. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7904 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Add tests for ticket forwardingKen Raeburn1996-05-041-0/+64
| | | | | | | | | | | | | | | | | | | | | * kadmin.exp and gssapi.exp: Fix syntax of expect_after blocks. The -i $foo must be inside the {, and the { must be by itself at the end of the line. * gssftp.exp (start_ftp_daemon): use krb5.conf, not krb.conf * gssftp.exp (ftp_test): Explicitly select binary mode. * kadmin.exp: Don't look at output from kadmind to drain it; that problem is handled elsewhere now. * kadmin.exp (kadmin_delete, kamind_add, kadmin_add_rnd, kadmin_examine, kadmin_cpw, kadmin_cpw_rnd, kadmin_modify, kadmin_rename, kadmin_list, kadmin_extract, kadmin_extractv4): check for "lost KDC" as well. * kadmin.exp (kadmin_show): extend regexp to match current kadmin interface. (kadmin_add): match more of extended output (tentative change, should be expanded later to actually check the values.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7896 dc483132-0cff-0310-8789-dd5450dbe970
* replace KRBTEST.COM with $REALMNAME. Now you can change the realm name theMark Eichin1996-03-131-5/+7
| | | | | | | tests use by "runtest --tool krb --srcdir whatever REALMNAME=WHITEHOUSE.GOV" also added -- to kadmin tests so they work with any getopt git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7625 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to start up kshd (not krshd) with new argumentsEzra Peisach1996-03-031-6/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7590 dc483132-0cff-0310-8789-dd5450dbe970
* dejagnu test cases. (from Ian Taylor <ian@cygnus.com>)Mark Eichin1995-04-201-0/+206
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5413 dc483132-0cff-0310-8789-dd5450dbe970