summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* * default.exp (setup_root_shell): If we get connection refused messages,Ken Raeburn2003-03-142-1/+16
| | | | | | | followed by no unrecognized errors and then eof, report it as an unsupported test. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15279 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Use correct argument toTom Yu2003-02-052-1/+6
| | | | | | "-4" flag. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15152 dc483132-0cff-0310-8789-dd5450dbe970
* disable krb4 by defaultSam Hartman2003-02-042-1/+5
| | | | | | | | | | | | By default, we disable krb4 in the KDC. This means that -4 none is the default mode. Krb4 is reenabled for the dejagnu tests. ticket: new Tags: enhancement git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15149 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Record more information when "tail -f"Ken Raeburn2003-01-232-4/+20
| | | | | | | | | doesn't show the mark written to the log file. Look for and discard non-matching lines. (setup_root_shell): Ignore the message displayed by rlogin when a connection is refused to one address but other addresses are available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15132 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c (verify_cs_pair): Use krb5_free_creds() instead ofEzra Peisach2003-01-122-2/+7
| | | | | | krb5_free_cred_contents() to cleanup memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15112 dc483132-0cff-0310-8789-dd5450dbe970
* Use markers in Makefile.in rather than rules in configure.in to indicate whenKen Raeburn2003-01-102-9/+6
| | | | | | | | to use the lib.in and libobj.in makefile fragments. Pushing this per-directory info into Makefile.in will make it a little easier to work on combining configure scripts for multiple directories. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15107 dc483132-0cff-0310-8789-dd5450dbe970
* Only system headers should declare errnoSam Hartman2003-01-052-1/+4
| | | | | | | | | | | | | Many parts of krb5 declare errno in source files using extern int errno. This has not been needed in ANSI C for a long time, and actively breaks modern versions of glibc. So these declarations are removed and errno.h included where necessary. Ticket: new Component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15082 dc483132-0cff-0310-8789-dd5450dbe970
* * standalone.exp: Only run the keytab to srvtab tests if kerberos 4Ezra Peisach2003-01-012-1/+8
| | | | | | support is compiled into the source tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15076 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesTom Yu2002-12-121-7/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15047 dc483132-0cff-0310-8789-dd5450dbe970
* Oops, missed a few checks for eofTom Yu2002-11-092-8/+6
| | | | | | | ticket: 1249 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14986 dc483132-0cff-0310-8789-dd5450dbe970
* tests/dejagnu leaks ptysTom Yu2002-11-092-4/+38
| | | | | | | | | | | * default.exp: Add (disabled) debugging code for catching leaking ptys. expect eof from the correct spawn_ids when killing kdc and kadmind to avoid leaking ptys. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14984 dc483132-0cff-0310-8789-dd5450dbe970
* For sam_challenge do not encode optional strings if string not present.Ezra Peisach2002-11-074-3/+16
| | | | | | | | Previously, a string of length zero was transmitted. ticket: 1224 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14974 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (stop_kerberos_daemons): Kill, expect eof, wait, inTom Yu2002-10-072-2/+8
| | | | | | | that order. Avoids delivery of multiple signals (HUP+TERM) to KDC daemons when shutting down. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14911 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp (rsh_test): Explicitly call stop_rsh_daemon upon passTom Yu2002-09-302-0/+6
| | | | | | for "encrypted rsh" test, to avoid zombies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14908 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): Fix to use "tail -f" toTom Yu2002-09-292-74/+99
| | | | | | | check for setup messages from daemons; this avoids a few race conditions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14907 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (mydir): Add missing mydir linesEzra Peisach2002-09-242-0/+5
| | | | | | ticket: 1188 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14894 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-08-294-12/+18
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14791 dc483132-0cff-0310-8789-dd5450dbe970
* ignore tmpdirKen Raeburn2002-08-291-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14787 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-2914-7/+35
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-294-0/+4
| | | | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. (Second try; this time, deal with the cases where "cvs add"/"cvs ci" choked on previously deleted versions numbered 5.x.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14785 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore a bunch of files generated by building in the source tree, excludingKen Raeburn2002-08-294-0/+9
| | | | | | | those covered by CVSROOT/cvsignore patterns. Static UNIX build only, at the moment, may need updates for other configurations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14783 dc483132-0cff-0310-8789-dd5450dbe970
* 2002-08-26 Ezra Peisach <epeisach@bu.edu>Ezra Peisach2002-08-262-1/+8
| | | | | | | * configure.in: Use KRB5_LIB_PARAMS instead of AC_CANONICAL_HOST to set krb5_cv_host. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14767 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-2316-8/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Fix sense of HAVE_RUNTESTTom Yu2002-08-072-3/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14682 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Change K5_OUTPUT_FILES to K5_AC_OUTPUT (cleanup ofEzra Peisach2002-07-182-2/+6
| | | | | | obsolete macro). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14662 dc483132-0cff-0310-8789-dd5450dbe970
* use @HAVE_RUNTEST@ in deciding which tests to runKen Raeburn2002-07-182-5/+12
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14661 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Substitute HAVE_RUNTEST with "yes" or "no"Ken Raeburn2002-07-182-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14660 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Invoke AC_CANONICAL_HOSTKen Raeburn2002-07-122-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14634 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (HAVE_RUNTEST): Include $(DEJAFLAGS)Ken Raeburn2002-07-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14633 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Fix previous changeKen Raeburn2002-07-122-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14632 dc483132-0cff-0310-8789-dd5450dbe970
* * rlogin.exp: Update expected "encrypting" message for encrypted rloginKen Raeburn2002-07-012-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14593 dc483132-0cff-0310-8789-dd5450dbe970
* update dependenciesKen Raeburn2002-06-155-24/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14522 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp (v4ftp_test): Update checked messages for change of "credentialsKen Raeburn2002-04-262-1/+7
| | | | | | cache file" to "credentials cache" in error message table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14425 dc483132-0cff-0310-8789-dd5450dbe970
* call krb5_c_ versions of enctype/cksumtype checking routinesKen Raeburn2002-04-064-6/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14367 dc483132-0cff-0310-8789-dd5450dbe970
* delete no-op '-k' optionKen Raeburn2002-04-062-12/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14366 dc483132-0cff-0310-8789-dd5450dbe970
* attribution for log entryKen Raeburn2002-03-071-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14245 dc483132-0cff-0310-8789-dd5450dbe970
* test suite updates from 1.2.x - mostly testing 8-bit-kvno workaroundsKen Raeburn2002-03-076-133/+509
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14244 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): In starting the kadminEzra Peisach2002-02-212-1/+18
| | | | | | | | | daemon, the last line in the log file might read "Seeding random number" for a second. If that is the case, wait three seconds and refetch the last line of the log file to look for the "starting kadmind message" git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14158 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (start_kerberos_daemons): When standalone, delete KDC replayKen Raeburn2002-02-192-0/+6
| | | | | | cache before starting it up. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14148 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date-grabbing regexp to deal with older versions ofEzra Peisach2001-12-052-2/+7
| | | | | | | | 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
* * kdb5_verify.c (main): Use krb5_free_unparsed_name() to free upEzra Peisach2001-11-192-0/+18
| | | | | | | | memory. (check_princ): Use krb5_free_data_contents() and krb5_free_principal() to cleanup memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13996 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c (main): Invoke krb5_free_context when finished.Ezra Peisach2001-11-192-0/+12
| | | | | | (add_princ): Use krb5_free_principal to prevent memory leak. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13995 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Fix date grabbing code so we don't try to parse theTom Yu2001-11-022-4/+10
| | | | | | | 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
* * v4gssftp.exp: Calling send_error from within a dejagnu test isTom Yu2001-11-022-4/+10
| | | | | | | | wrong. So is calling exit. Fix to not do these things. Expect eof rather than "\r" so as to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13931 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Calling send_error from within a dejagnu test isTom Yu2001-11-022-4/+10
| | | | | | | | wrong. So is calling exit. Fix to not do these things. Expect eof rather than "\r" so as to drain pty buffers and avoid deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13928 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (check_k5login, check_klogin): Error out if there isTom Yu2001-11-012-12/+64
| | | | | | | | | | | a nonexistent .k5login or .klogin for root. (setup_{kadmind_,}srvtab, add_{random,kerberos}_key): Notice unmatched output to avoid timing out on certain errors. Look for command echoes. Clear the expect_after list in places to avoid problems with lingering expect_after clauses against invalid spawn_ids. expect eof in places to avoid pty deadlock. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13924 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Mark as unused the test passes that won'tTom Yu2001-10-272-32/+51
| | | | | | | accomplish anything due to disabling of SUPPORT_DESMD5 in the code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13869 dc483132-0cff-0310-8789-dd5450dbe970
* * rcp.exp, rsh_exp (stop_rsh_daemon): Do not close a process andEzra Peisach2001-10-263-2/+9
| | | | | | | | 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-252-1/+7
| | | | | | 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
* * kadmin.exp: Corrected a couple of unimportant typos. Added proceduresMitchell Berger2001-10-242-4/+321
| | | | | | | | | | kadmin_addpol, kadmin_delpol, kadmin_listpols, kadmin_modpol, and kadmin_showpol, which provide the tools with which to perform policy tests. Added some basic policy operations to the tests of basic kadmin functions. Added a test case to exercise the kadmind crash that used to occur when the history number of a policy was decreased. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13838 dc483132-0cff-0310-8789-dd5450dbe970