summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/unit-test/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* Remove ChangeLog files from the source tree. From now on, theSam Hartman2006-04-111-353/+0
| | | | | | | subversion commit log entry needs to include information that would have been in the changelog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (usage): Mark as "noreturn" under gccKen Raeburn2006-04-101-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17885 dc483132-0cff-0310-8789-dd5450dbe970
* set DEFS empty in more placesKen Raeburn2006-04-041-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17838 dc483132-0cff-0310-8789-dd5450dbe970
* Include autoconf.h (or include it earlier) in a bunch of files that areKen Raeburn2006-04-011-0/+4
| | | | | | currently depending on command-line macro settings. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17825 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-111-0/+4
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* All configure.in scripts: Use K5_AC_INIT instead of AC_INITKen Raeburn2005-08-201-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17342 dc483132-0cff-0310-8789-dd5450dbe970
* This commit merges the RPCSEC_GSS integration branch onto the trunk.Tom Yu2004-06-161-0/+6
| | | | | | | | | | | | | | | | | | | Remaining work includes: * Default to using kadmin/fqdn for SEAM compatibility * Namespace cleanups and other API tweaks -- this API is not stable yet * Fix lib/rpc/unit-test testsuite to test RPCSEC_GSS in addition to AUTH_GSSAPI Additional work will be tracked in separate tickets. This merge is bracketed between the tags "tlyu-umich-rpc-merge-pre" and "tlyu-umich-rpc-merge-post". ticket: 2578 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16467 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp (expect_kadm_ok): Check for "ERROR" messages and report themKen Raeburn2004-04-031-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16232 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp (expect_kadm_ok): Check for eof and report a specific errorKen Raeburn2004-02-271-0/+5
| | | | | | for that case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16138 dc483132-0cff-0310-8789-dd5450dbe970
* Change PRIOCNTL_HACK code to use "==" rather than "eq", as "eq" is notTom Yu2004-02-131-0/+5
| | | | | | | | | | available in tcl-8.3. ticket: new target_version: 1.3.2 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16071 dc483132-0cff-0310-8789-dd5450dbe970
* priocntl workaround for Solaris 9 pty-close bugTom Yu2004-02-131-0/+7
| | | | | | | | | | | | Implement gross hack to use priocntl to work around the Solaris 9 pty-close bug. Run expect at a higher class "FX" priority than spawned processes, which run at a lower class "FX" priority. "make check" needs to start from a process which has FX priority >= 30 and FX priority limit >= 30. Thanks to Bill Sommerfeld for the hints. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16069 dc483132-0cff-0310-8789-dd5450dbe970
* ignore extra lines output when debugging code enabledKen Raeburn2003-12-131-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15909 dc483132-0cff-0310-8789-dd5450dbe970
* Log entries for Makefile.ov deletionKen Raeburn2003-01-081-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15090 dc483132-0cff-0310-8789-dd5450dbe970
* Better cleanup; reduce filename conflictKen Raeburn2002-11-151-0/+10
| | | | | | | | | | | | * Makefile.in (unit-test-ok): Depend only on unit-test-body. (unit-test-body): Remove krb5cc_rpc_test_* on entry and on successful exit. On error exit, let the trap handler do all the cleanup. Incorporate old unit-test-setup commands. (unit-test-setup, unit-test-cleanup): Targets deleted. * lib/helpers.exp (start_client, wait_client): Set KRB5CCNAME to something in the current directory. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15002 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unit-test-body): Set RPC_TEST_SRVTAB based on process-id. SetKen Raeburn2002-11-111-0/+7
| | | | | | | trap handler to delete it before returning an exit status. (unit-test-cleanup): Don't delete files here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14991 dc483132-0cff-0310-8789-dd5450dbe970
* rpc unit tests can fail due to race conditionTom Yu2002-11-071-0/+7
| | | | | | | | | | | | | | | | | | The rpc unit tests can fail in fullrun.exp due to a failure to drain output from the server in expire.exp. This commit works around the problem by calling flush_server, but a real synchronization method should probably be implemented, perhaps by having the server log when a client disconnects. * rpc_test.0/expire.exp (overlap): Add another call to flush_server to make a race condition a little less likely. There really should be better synchronization, as this test suite is just full of race conditions waiting to happen. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14979 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp (setup_database): Use "!=" instead of "ne" for string ↵Ken Raeburn2002-09-161-0/+5
| | | | | | comparisons git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14870 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp (expect_tcl_prompt): Use the "-re" flag, andTom Yu2002-09-151-0/+8
| | | | | | | | | match end of output. (expect_kadm_ok): s/error/perror. (setup_database): Work around tcl 8.4's (incorrect?) output EOL translation. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14867 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Revert $(S)=>/ change, for Windows supportKen Raeburn2002-08-291-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14786 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Use $krb5_cv_host instead of $hostEzra Peisach2002-08-261-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-231-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14761 dc483132-0cff-0310-8789-dd5450dbe970
* * config/unix.exp (top level): Load helpers.exp here, to make sure databaseKen Raeburn2002-06-091-0/+5
| | | | | | setup happens properly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14485 dc483132-0cff-0310-8789-dd5450dbe970
* do database expansion from tcl driver codeKen Raeburn2002-01-091-0/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14097 dc483132-0cff-0310-8789-dd5450dbe970
* * xdr_reference.c (xdr_reference): Remove cast in argument to memsetEzra Peisach2001-07-271-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * svc_auth_gssapi.c: In call to gss_accept_sec_context, pass OM_uint32 * instead of int *; * pmap_clnt.h, pmap_getport.c (pmap_getport): Prototype changed for protocol from unsigned int to rpc_u_int32 to match struct pmap. * getrpcport.c (gssrpc_getrpcport): Update to reflect proper calling conventions. * rpc.h (callrpc): Change prototype from expecting ints for prognum, versnum and procnum to rpc_u_int32 for consistancy. (getrpcport): Update arguments in similar fashion. * clnt_simple.c (gssrpc_callrpc): Update to reflect prototype change. * auth_gssapi_misc.c (auth_gssapi_display_status_1): Local variable msg_ctx should be OM_uint32 instead of int as argument to gss_display_status. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13645 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_clnt.c, rpc_test_svc.c: Include string.h for memsetEzra Peisach2001-07-091-0/+5
| | | | | | prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13594 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_svc.c: Change rpc_test_prog_1 toEzra Peisach2001-07-021-0/+12
| | | | | | | | | | | | | rpc_test_prog_1_svc. * rpc_test.h: Create prototypes for rpc_test_echo_1_svc and rpc_test_prog_1_svc. * server.c: Declare usage and handlesig static. Change rpc_test_echo_1 to rpc_test_echo_1_svc and rpc_test_prog_1 to rpc_test_prog_1_svc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13547 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: Include unistd.h for getopt() prototypeEzra Peisach2001-06-081-0/+11
| | | | | | | | | | | * configure.in: Check for unistd.h. * server.c: Include unistd.h for getopt() prototype. Fix rpc_test_badauth() prototype to be consistant with error handler. Declare main as returning int. If POSIX_SIGNALS is defined, the handler expects an argument. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13312 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (log_badauth_display_status_1): Do not assume thatEzra Peisach2001-06-071-0/+5
| | | | | | gss_buffer_desc strings are '\0' terminated. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13301 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (log_badauth_display_status_1): Need value element ofEzra Peisach2001-06-051-0/+3
| | | | | | gss_buffer_desc for printf. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13271 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Missing arguments to printf fixedEzra Peisach2001-06-051-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13270 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Ensure that end of string is NULL terminatedEzra Peisach2001-04-241-0/+6
| | | | | | | instead of assuming buffer initialized to 0. Include <string.h> for memset prototype. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13187 dc483132-0cff-0310-8789-dd5450dbe970
* Run RPC tests with one invocation of DejaGnu rather than twoKen Raeburn2000-07-011-0/+11
| | | | | | | | | | | | * Makefile.in (unit-test-body): Combine -tcp and -udp versions, setting PASS instead of PROT. * configure.in: Set and substitute PASS instead of UDP_TEST. * config/unix.exp: Don't invoke rpc_test_start. Set MULTIPASS, including a setting for PROT and a dummy to trigger rpc_test_start invocation. (rpc_test_start): If a server has already been started, call rpc_test_exit to verify that it's still running. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12503 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2.1 releaseKen Raeburn2000-07-011-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12502 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Error out if server_handle doesn't get set in the Tcl ↵Ken Raeburn2000-06-301-0/+5
| | | | | | script git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12495 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-271-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
* Change wsanchez@apple -> tritan@mitWilfredo Sanchez2000-06-011-2/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12331 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c: Add code to set a signal handler for SIGHUP and a fewTom Yu2000-02-151-0/+7
| | | | | | | | others so that purify will actually generate memory leak reports. * configure.in: Add CHECK_SIGNALS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12042 dc483132-0cff-0310-8789-dd5450dbe970
* * config/unix.exp: Call send_error instead of fail to preventTom Yu2000-02-071-0/+9
| | | | | | | | | | referencing variables not yet set up by the test framework. * lib/helpers.exp: Call kinit and kdestroy with the -5 flag to deal with new program behavior. Also call perror rather than error to avoid spewing a stack trace. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12021 dc483132-0cff-0310-8789-dd5450dbe970
* log tritan's changesTom Yu1999-10-261-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11877 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (unit-test-body-tcp, unit-test-body-udp): Pass $(RUNTESTFLAGS) toKen Raeburn1999-09-211-0/+5
| | | | | | runtest. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11834 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Set the myfulldir and mydir variables (which are relativeTheodore Tso1998-12-051-0/+7
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: Update header locations. Rename of xdr_freeTom Yu1998-02-141-0/+8
| | | | | | | | * rpc_test.h: Update header locations. * server.c: Update header locations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10448 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c (main): Tweak the kludge variableTom Yu1998-02-121-0/+6
| | | | | | | krb5_gss_dbg_clietn_expcreds so we can send expired creds to the server. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10427 dc483132-0cff-0310-8789-dd5450dbe970
* Mass makefile/configure.in build system revampTheodore Tso1998-02-121-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10424 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, Makefile.in: Add test to disable udp test underTom Yu1997-10-101-0/+6
| | | | | | | Solaris 2.0 thru 2.5; a getsockname() bug prevents channel bindings from working. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10221 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-091-0/+5
| | | | 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-131-0/+4
| | | | | | include the doc subtree!!) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9632 dc483132-0cff-0310-8789-dd5450dbe970
* * server.c (main): Add declaration of optind for systems thatTom Yu1996-11-151-0/+5
| | | | | | don't have it in stdio.h or the like. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9419 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: VERBOSE is now inherited from env-setup.shBarry Jaspan1996-11-141-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9416 dc483132-0cff-0310-8789-dd5450dbe970
* clean: Remove test programs and objectsEzra Peisach1996-11-131-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9404 dc483132-0cff-0310-8789-dd5450dbe970