summaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.in (SRCS): Add $(SRCS) lineEzra Peisach1997-08-178-0/+23
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10177 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (SRCS): Add $(srcdir)Ezra Peisach1997-08-172-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10176 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Add "create" directory backTom Yu1997-07-302-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10147 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_mkdums.c: Update to match reality of libkdb, so that itTom Yu1997-07-302-6/+14
| | | | | | actually works. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10146 dc483132-0cff-0310-8789-dd5450dbe970
* Remove AC_PROG_INSTALL as we do not instal lhere....\Ezra Peisach1997-03-202-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10019 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add $(LIBS) so that compile doesn't blow out underTom Yu1997-02-272-1/+6
| | | | | | Solaris due to lack of -lnsl -lsocket. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9982 dc483132-0cff-0310-8789-dd5450dbe970
* resolve.c (main): Make the test for a FQDN be a bit more stringentTheodore Tso1997-02-243-3/+17
| | | | | | | Makefile.in (resolve): The resolve program doesn't need to be linked against the Kerberos library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9967 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unneeded calls to krb5_init_etsRichard Basch1997-02-203-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9931 dc483132-0cff-0310-8789-dd5450dbe970
* Remove krb5_xfree from the public interfaceRichard Basch1997-02-184-4/+13
| | | | | | | Implement krb5_free_data & krb5_free_data_contents to cleanup krb5_data structures and data contents allocated by the krb5 library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9904 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-0921-49/+73
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* Merge V1_0_FREEZE_3 into the mainline. (Note this merge does *not*Theodore Tso1996-12-135-3/+44
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * telnet.exp: telnet may output fqdn in upper-caseBarry Jaspan1996-11-142-1/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9415 dc483132-0cff-0310-8789-dd5450dbe970
* krb5_encode_test.c (PRS): Add the -p option to krb5_encode_test toTheodore Tso1996-11-146-26/+56
| | | | | | | | | | | | | | | | | change the sample principal value (to test encoding of different krb5 principals). ktest.c (ktest_make_sample_principal): Use krb5_parse_principal so that sample principal can be configured for different purposes. krb5_decode_test.c (main): krb5_encode_test.c (main): Check return value from krb5_init_context to make sure it succeeded. Makefile.in (check): Set KRB5_CONFIG to $(TOPSRC)/config-files/krb5.conf so that the tests work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9412 dc483132-0cff-0310-8789-dd5450dbe970
* + dejagnu: set env(TERM) dumb, find ktutil, drain for gss, rlogin testsMark Eichin1996-11-126-5/+59
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9380 dc483132-0cff-0310-8789-dd5450dbe970
* (setup_wrapper): Set KRB5_CONFIG in wrapper scriptsEzra Peisach1996-11-102-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9362 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Check for "foo: No such file or directory" inTom Yu1996-11-072-1/+9
| | | | | | addition to "foo not found". git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9310 dc483132-0cff-0310-8789-dd5450dbe970
* Test nlist and ls commands. The nlist command was failing on the Alpha'sEzra Peisach1996-10-142-0/+30
| | | | | | for lack of STDARG usage. [krb5-appl/108] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9169 dc483132-0cff-0310-8789-dd5450dbe970
* Renamed RUNTEST to HAVE_RUNTEST variable in Makefile.in to avoid collisionEzra Peisach1996-10-072-3/+8
| | | | | | with definition in config/pre.in git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9147 dc483132-0cff-0310-8789-dd5450dbe970
* remove ".so man1/header.doc" and extra args to .THTom Yu1996-09-102-2/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9069 dc483132-0cff-0310-8789-dd5450dbe970
* Tweak to manpage from CygnusJeff Bigler1996-08-291-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9013 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Tom Yu1996-08-151-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8937 dc483132-0cff-0310-8789-dd5450dbe970
* * gssftp.exp: Do case insensitive match in case hostname doesn'tTom Yu1996-08-151-3/+3
| | | | | | get downcased. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8936 dc483132-0cff-0310-8789-dd5450dbe970
* Use kadmin.local instead of kdb5_editEzra Peisach1996-08-134-186/+90
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8934 dc483132-0cff-0310-8789-dd5450dbe970
* * Read all kadmin output before waiting for it to dieSam Hartman1996-08-102-8/+17
| | | | | | | * Sleep 2 seconds before starting KDC, so we know we slept at elast one second so that the file modification time will actually change. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8920 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Fix to specify "2500 seconds" explictly to avoidTom Yu1996-08-062-1/+6
| | | | | | getting negative maxlife. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8912 dc483132-0cff-0310-8789-dd5450dbe970
* Update to new kdb5_util calling conventionEzra Peisach1996-08-062-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8910 dc483132-0cff-0310-8789-dd5450dbe970
* * kadmin.exp: Added back in. Rewritten to use new admin systemEzra Peisach1996-07-292-0/+851
| | | | | | | | | | | | Notes: a) This only tests the old functionailty - the policy database testing does not exist b) The rename test is taken out as you currently cannot rename a random key (deficiency in kadmind) c) The v4 keytab extraction does not have an equivalent in this system and is not included. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8859 dc483132-0cff-0310-8789-dd5450dbe970
* defaul.exp (kinit): Look for the end-of-file from kinit beforeEzra Peisach1996-07-292-0/+8
| | | | | | going into wait.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8858 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Rewrite to use kdb5_util instead of kdb5_create andEzra Peisach1996-07-272-36/+40
| | | | | | | kdb5_stash. No longer add the kadmin/admin and changepw keys to the database as this is handled automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8852 dc483132-0cff-0310-8789-dd5450dbe970
* Removed kadmin.exp, since it's for the old admin serverTheodore Tso1996-07-242-834/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8794 dc483132-0cff-0310-8789-dd5450dbe970
* this commit includes all the changes on the OV_9510_INTEGRATION andMarc Horowitz1996-07-229-60/+94
| | | | | | | | | OV_MERGE branches. This includes, but is not limited to, the new openvision admin system, and major changes to gssapi to add functionality, and bring the implementation in line with rfc1964. before committing, the code was built and tested for netbsd and solaris. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8774 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-108-8/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize fileTheodore Tso1996-06-064-1/+70
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8249 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-064-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5_decode_test.c (main): For asn1_decode_enc_kdc_rep_part,Ezra Peisach1996-06-052-1/+7
| | | | | | starttime will equal authtime if not sent OTW. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8232 dc483132-0cff-0310-8789-dd5450dbe970
* Use a wrapper script for the rcp started from kshd. This change cleans up theEzra Peisach1996-05-072-10/+12
| | | | | | test as written. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7908 dc483132-0cff-0310-8789-dd5450dbe970
* Fixed the abstraction violation, where the code knew the details about theRichard Basch1996-05-064-24/+28
| | | | | | cryptosystem structure. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7907 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Setup a wrapper script in executing klist in the remoteEzra Peisach1996-05-063-2/+18
| | | | | | | | | 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
* Use a wrapper script when invoking login.krb5 in order for sharedEzra Peisach1996-05-062-1/+14
| | | | | | libraries to be setup properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7903 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: Add procedure setup_wrapper to first setup shared libraryEzra Peisach1996-05-062-0/+32
| | | | | | | | | environment variables and the exec program. This allows for easy testing of "rsh $hostname klist" which would normally fail due to shared libraries not being setup. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7902 dc483132-0cff-0310-8789-dd5450dbe970
* * default.exp: For stty_init set to \^h as on some /bin/sh, ^ isEzra Peisach1996-05-052-1/+6
| | | | | | | | | | treated as a pipe. I had never heard of this until under DU 3.2 the tests started failing until I read the sh man page. Apparently ^ is for some very old compatibility. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7900 dc483132-0cff-0310-8789-dd5450dbe970
* whitespaceKen Raeburn1996-05-041-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7899 dc483132-0cff-0310-8789-dd5450dbe970
* work around process group problems; recognize certain failure modes (e.g.,Ken Raeburn1996-05-043-9/+67
| | | | | | connection closed) better; work around gnu getopt problem git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7898 dc483132-0cff-0310-8789-dd5450dbe970
* cygnus merge: sscanf workaround; logs for sam testsKen Raeburn1996-05-042-3/+27
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7897 dc483132-0cff-0310-8789-dd5450dbe970
* * rsh.exp: Add tests for ticket forwardingKen Raeburn1996-05-046-47/+164
| | | | | | | | | | | | | | | | | | | | | * 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
* Tue Apr 2 22:22:47 1996 Chris Provenzano <proven@cygnus.com>Ken Raeburn1996-05-042-45/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * default.exp : Do an stty to set kill and erase correctly. Things don't work if kill is set to '@'. Fri Mar 29 15:02:32 1996 Chris Provenzano <proven@cygnus.com> * default.exp : Always use variable BINSH instead of sh. Use -f flag with kinit to get forwardable tickets. Setup kdc.conf to allow forwardable tickets. Thu Mar 28 17:30:55 1996 Ken Raeburn <raeburn@cygnus.com> * default.exp (touch, tail1): New proc. (start_kerberos_daemons, stop_root_shell): Use them, and sleep built-in cmd. Wed Mar 27 22:43:08 1996 Ken Raeburn <raeburn@cygnus.com> * default.exp (start_kerberos_daemons): Use ">>" to avoid updating mod time on kadmind log file. Wed Mar 27 21:35:57 1996 Marc Horowitz <marc@mit.edu> * default.exp: (start_kerberos_daemons): exec the kadmind inside an sh to redirect stderr (this is a pending bug), and keep the same pid, so that stop_kerberos_daemons doesn't leave a kadmind running. Wed Mar 27 21:24:35 1996 Marc Horowitz <marc@mit.edu> * default.exp: (start_kerberos_daemons): add a check for "cannot initialize network" as a failure message to the kadmind5 startup expect checks Wed Mar 27 21:10:47 1996 Marc Horowitz <marc@mit.edu> * default.exp (start_kerberos_daemons): use ezra's KDC tail changes for kadmind5, too. * rlogin.exp (start_rlogin_daemon): start klogind with sh -c so that setsid() won't fail due to the process already being the leader of a process group git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7895 dc483132-0cff-0310-8789-dd5450dbe970
* Fix the expect string so that it doesn't assume that the client isTheodore Tso1996-04-172-1/+9
| | | | | | | | | using its fully qualified domain name as its local hostname. We now check to make sure that FTP banner contains $localhostname, plus optional characters (which can be the domainname depending on the system.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7824 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBSRichard Basch1996-04-151-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7815 dc483132-0cff-0310-8789-dd5450dbe970
* Added V5_USE_SHARED_LIBRichard Basch1996-04-114-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7789 dc483132-0cff-0310-8789-dd5450dbe970
* add sam challenge and response test casesMark Eichin1996-04-096-0/+218
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7775 dc483132-0cff-0310-8789-dd5450dbe970