summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* * rcp.exp (stop_rsh_daemon): Call "expect eof" to drain pty bufferTom Yu2001-10-243-0/+11
| | | | | | | | | 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
* * default.exp: Add support for setting SUPPORT_DESMD5 flag on theTom Yu2001-10-242-19/+161
| | | | | | | | | | | | | | TGT principal. Add test pass des.md5-tgt for exercising enctype similarity inconsistency. Add test pass des.no-kdc-md5 for exercising failure to constrain session key issuance to permitted_enctypes. Pepper the code with null calls to expect_after to prevent misfiring of expect_after clauses. (setup_srvtab): Look for some possible error cases to avoid timing out. (setup_root_shell): Restore timeout so we don't wait 5 minutes in other places. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13836 dc483132-0cff-0310-8789-dd5450dbe970
* Update automatic dependencies to work on Windows by using $(OUTPRE) andKen Raeburn2001-10-117-28/+29
| | | | | | | $(OBJEXT). Change a couple of UNIX rules to not trigger incorrectly on Windows. Rebuild dependencies. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13801 dc483132-0cff-0310-8789-dd5450dbe970
* Don't conditionalize prototypes; delete macros supporting it. (Maybe overdone;Ken Raeburn2001-10-1013-95/+116
| | | | | | don't worry about restoring them when importing new versions of code.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13792 dc483132-0cff-0310-8789-dd5450dbe970
* updated dependencies for latest make-depend target codeKen Raeburn2001-09-061-20/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13734 dc483132-0cff-0310-8789-dd5450dbe970
* dependenciesKen Raeburn2001-09-028-1/+95
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13726 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c (main): Initialize enctype at entry; eliminate enctypedone ↵Ken Raeburn2001-08-302-7/+7
| | | | | | variable git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13690 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp (setup_root_shell): Also recognize "nection reset byEzra Peisach2001-08-062-1/+8
| | | | | | | | peer" as a failure to get a root shell. This happens if tcp_wrappers are in use in inetd.conf, but rlogind is not prsent on the machine. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13673 dc483132-0cff-0310-8789-dd5450dbe970
* * t_imp_name.c (display_status_1): Remove variable that was setEzra Peisach2001-07-232-2/+7
| | | | | | but never used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13623 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include stdlib.h (if present) for exit() prototypeEzra Peisach2001-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13581 dc483132-0cff-0310-8789-dd5450dbe970
* * trval.c: Include string.h for strcmp prototypeEzra Peisach2001-07-062-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13578 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include stdlib.h (if present) for exit() prototypeEzra Peisach2001-07-061-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13577 dc483132-0cff-0310-8789-dd5450dbe970
* * v4gssftp.exp, gssftp.exp: Test transfering a file > 1MB toEzra Peisach2001-07-043-2/+129
| | | | | | exercise PBSZ failure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13554 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Use $tmppwd rather than hardcoding tmpdirTom Yu2001-06-227-30/+51
| | | | | | | | | | | | | | | | * 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
* * default.exp: Use the interface variable $TMPDIR to allow theTom Yu2001-06-222-398/+724
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | specification of an alternative temporary directory. Wrap a loop around various testings and settings of interface variables that specify the locations of programs to be tested, e.g. $KADMIND. Add some support for having different sets of enctypes on client, server, and kdc. The envstack changes and multiple config file support should get cleaned up somewhat later to possibly allow for programs to execute on different hosts. (check_k5login): Fix up to reflect actual (perhaps bogus) behavior of krb5_kuserok(), which doesn't do quite what we expect, so there really does need to be something like "luser@KRBTEST.COM" in the .k5login file. (check_klogin): New procedure; .klogin also needs to be checked for the v4gssftp test. (envstack_push, envstack_pop): New procedure; keep a stack of environment variable state, which is useful for running different programs with different config files. (setup_runtime_flags, setup_kerberos_env): Rewrite somewhat so they play nice with the envstack. (setup_krb5_conf): New procedure; write a config file with the contents parameterized based on the type of program that will use it. (setup_kerberos_files): Create different krb5.conf files for client, server, and kdc. (setup_kadmind_srvtab, setup_kerberos_db, start_kerberos_daemons): Rewrite to play nice with envstack. (setup_root_shell_noremote): New procedure from raeburn; handle the case where we're already running as root. (setup_root_shell): Call setup_root_shell_noremote as appropriate. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13500 dc483132-0cff-0310-8789-dd5450dbe970
* v4krb524d.exp: New tests for the krb524d and k524init programsEzra Peisach2001-06-172-0/+167
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13356 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add an entry for krb524_server for the localhostEzra Peisach2001-06-172-0/+6
| | | | | | with a non-standard port number. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13355 dc483132-0cff-0310-8789-dd5450dbe970