summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* * default.exp: Add code to handle setting of PASS to constrainTom Yu2000-07-232-9/+24
| | | | | | | | | | | multipass testing to particular passes. dejagnu-1.3 doesn't have support for PASS, so we kludge it here, though some later versions handle it by themselves. (krb_exit): Add new proc to clean up on exit. (kinit): Remove "expect \r" since "expect eof" will drain the pty buffer properly anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12583 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Drain buffers on klist test to avoid wedging rsh onTom Yu2000-07-052-2/+9
| | | | | | exit under HP/UX. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12533 dc483132-0cff-0310-8789-dd5450dbe970
* * gssapi.exp: Rework significantly to deal with HP/UX lossage thatTom Yu2000-07-042-381/+105
| | | | | | | | | probably resulted from when either the client or the server wound up blocking on tty output. Abstract things a little more. Remove dead duplicate code that used to deal with "-v2". Should figure out why the "-v2" stuff disappeared mysteriously. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12530 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Define GSSAPI_V2 for proper variable typesEzra Peisach2000-07-032-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12514 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_mkdums.c: Remove unused variableEzra Peisach2000-07-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12513 dc483132-0cff-0310-8789-dd5450dbe970
* kdb5_verify.c: Remove unused variableEzra Peisach2000-07-032-2/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12512 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add rudimentary support for multiple passes. ForTom Yu2000-07-022-73/+183
| | | | | | | | | | | | | | | | | | | | | | | | | | now, iterate over a few combinations of des_krbtgt and assorted enctype lists. Will eventually allow for separate krb5.conf files for clients and servers. Add varibles RLOGIN and RLOGIN_FLAGS to permit run-time configuration of rlogin program if necessary. Set up an onexit handler that calls stop_kerberos_daemons. Replace many uses of doubled-up send_log and verbose with single calls to verbose -log. Replace instances of send_error with perror where appropriate, since this will cause successor test to fail, which is usually what we want. (setup_root_shell): Replace calls to untested with calls to unsupported; also use note for explanatory text previously printed using untested. Add match string for "connection refused" and collapse common code into a single expect clause by using the -re flag. (start_kerberos_daemons): Conditionalize calls to fail based on $standalone; in the !$standalone case, call perror instead. Calls to fail and pass for a given test should have consistent strings, and extraneous calls to fail should not be made in order to keep the total number of passed and failed tests constant regardless of success of setup steps. Much remains to be done in this area though. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12509 dc483132-0cff-0310-8789-dd5450dbe970
* merge from krb5-1-2-beta4Ken Raeburn2000-06-238-13/+51
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12427 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-018-16/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Use $KDESTROY -5 to deal with changed behaviorTom Yu2000-02-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12020 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Remove default_tgs_enctypes for now as it wasTom Yu2000-02-072-1/+7
| | | | | | | causing tests to fail when the tgt is DES3. Need to investigate further. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12018 dc483132-0cff-0310-8789-dd5450dbe970
* * standalone.exp: Use $KLIST -5 and $KDESTROY -5 to deal withTom Yu2000-02-064-7/+19
| | | | | | | | | | | 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
* * default.exp: Use $KINIT -5 to deal with modified kinitTom Yu2000-02-062-1/+6
| | | | | | behavior. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12003 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add test case for zero-lengthTom Yu1999-11-012-0/+9
| | | | | | SequenceOfType. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11891 dc483132-0cff-0310-8789-dd5450dbe970
* lost date/name line in last checkinKen Raeburn1999-10-261-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11880 dc483132-0cff-0310-8789-dd5450dbe970
* * trval.c (print_tag_type): Use fputs when there's no formatting to doKen Raeburn1999-10-262-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11879 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-268-0/+56
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-268-10/+2
| | | | | | | that one can override CFLAGS from the command line without losing CPP search patchs and defines. Some associated Makefile cleanup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11876 dc483132-0cff-0310-8789-dd5450dbe970
* copyright notice updates from 1.1 branchKen Raeburn1999-09-2410-10/+40
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
* des3 testing. move out principal expiration time in test db by 30 yearsKen Raeburn1999-09-012-3/+73
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11765 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add additional test cases inTom Yu1999-07-112-0/+15
| | | | | | encryption_key to test negative integer handling. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11559 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add test cases for encryption_key inTom Yu1999-07-042-0/+11
| | | | | | | order to test skipping of trailing fields in sequences, as well as handling of indefinite lengths in sequences. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11543 dc483132-0cff-0310-8789-dd5450dbe970
* t_imp_name.c: Initialize display_file variable in main(), instead ofTheodore Tso1999-04-142-2/+10
| | | | | | using a static initializer. (Needed for Linux/glibc 2.1) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11361 dc483132-0cff-0310-8789-dd5450dbe970
* trval.c: Now understands krb5 structure elementsTheodore Tso1999-01-295-1730/+1118
| | | | | | | krb5_encode_test.c: Pass trval type hints to trval2() so that datastructures get properly decoded. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11136 dc483132-0cff-0310-8789-dd5450dbe970
* trval.c: Added usage message, better options parsing, and support forTheodore Tso1999-01-222-70/+306
| | | | | | | | | | two new options: -hex, which will accept the asn.1 encoding in hex (i.e., from a packet dump), and -krb5, which instructs the trval to print out the krb5 interpretations of the data types. Trval will now also try to interpret the field names of known krb5 structures if -krb5 is specified. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11118 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-0514-0/+49
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): Add variant test cases onTom Yu1998-12-042-1/+18
| | | | | | | | enc_tkt_part to test bit string values that aren't exactly 32 bits, including 38, 40, 29, and 24 bits to test boundary conditions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11059 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Changes to deal with new text messages in ftp/ftpdEzra Peisach1998-11-062-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11019 dc483132-0cff-0310-8789-dd5450dbe970
* pull up 3des implementation from the marc-3des branchMarc Horowitz1998-10-305-31/+86
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11001 dc483132-0cff-0310-8789-dd5450dbe970
* POSIX states that getopt returns -1 when it is done parsing options,Theodore Tso1998-05-068-4/+24
| | | | | | not EOF. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10550 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c: Add parenthesis about assignements in conditionalsEzra Peisach1998-03-302-29/+35
| | | | | | gcc -Wall cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10510 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc5_hammer.c (usage): Change usage to refelect realityEzra Peisach1998-03-302-24/+29
| | | | | | | | Add parenthesis around assignements in conditionals. gcc -Wall cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10509 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_verify.c: Declare main() as int instead of void.Ezra Peisach1998-03-302-29/+37
| | | | | | | | Add parentheses around assignements in conditionals. More gcc -Wall cleanups git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10508 dc483132-0cff-0310-8789-dd5450dbe970
* * t_inetd.c: Include stdlib.h (if present) for atoi() prototype,Ezra Peisach1998-03-302-0/+15
| | | | | | | | Include unistd.h (if present) for dup() prototype. More gcc -Wall cleanups. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10507 dc483132-0cff-0310-8789-dd5450dbe970
* * ktest_equal.h: Add prototypes for ktest_equal_sam_challenge andEzra Peisach1998-03-305-4/+19
| | | | | | | | | | | ktest_equal_sam_response * ktest.c (ktest_make_sample_sam_response): Remove unused variable. * krb5_decode_test.c, krb5_decode_test.c (main): Declare main as int not void. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10506 dc483132-0cff-0310-8789-dd5450dbe970
* * resolve.c: Include unistd.h if present on system (forEzra Peisach1998-03-302-1/+9
| | | | | | gethostname prototype). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10505 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-1816-16/+55
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add commented out AC_OUTPUT to force autoreconf toTom Yu1998-02-122-1/+6
| | | | | | rebuild the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10425 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-1224-48/+73
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Fix to deal with new kpasswd programTom Yu1998-01-312-9/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10398 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add kpasswd_server to krb5.confTom Yu1998-01-312-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10397 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Added kpasswd_port variable to kdc.conf creation.Ezra Peisach1998-01-212-0/+6
| | | | | | (proven@cygnus.com) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10365 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Remove temporary file generated during testEzra Peisach1997-11-192-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10299 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Replace "else if" with "elseif" as expect 5.25Ezra Peisach1997-11-092-1/+6
| | | | | | requires it. [krb5-misc/487] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10269 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Reinstated kdb checksEzra Peisach1997-11-042-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10266 dc483132-0cff-0310-8789-dd5450dbe970
* Disable the test again... Turns out I was relying on anotherEzra Peisach1997-10-081-1/+1
| | | | | | change that is required to kdb5_util which requires more testing. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10218 dc483132-0cff-0310-8789-dd5450dbe970
* Add KRB%_CONFIG envronment variable for systems w/o /etc/krb5.confEzra Peisach1997-10-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10217 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (kdb_check): Rewritten to use current admin system toolsEzra Peisach1997-10-082-13/+39
| | | | | | Tests re-enabled.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10216 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (runenv.vars): Use tr to remove newlines in multipleEzra Peisach1997-10-072-1/+6
| | | | | | lines of variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10211 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Fix up site.exp generation to reduce the quotingTom Yu1997-10-032-5/+15
| | | | | | lossage somewhat. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10205 dc483132-0cff-0310-8789-dd5450dbe970