summaryrefslogtreecommitdiffstats
path: root/src/lib/rpc/unit-test
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/helpers.exp (expect_tcl_prompt): Use the "-re" flag, andTom Yu2002-09-152-3/+15
| | | | | | | | | 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-292-1/+5
| | | | 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-291-0/+2
| | | | | | | 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
* * configure.in: Use $krb5_cv_host instead of $hostEzra Peisach2002-08-262-4/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14768 dc483132-0cff-0310-8789-dd5450dbe970
* Change $(S)=>/ and $(U)=>.. globallyKen Raeburn2002-08-232-1/+5
| | | | 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-092-0/+8
| | | | | | 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-093-1/+109
| | | | 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-273-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | * 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-093-0/+7
| | | | | | 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-024-11/+22
| | | | | | | | | | | | | 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-084-95/+25
| | | | | | | | | | | * 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-072-6/+12
| | | | | | 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-052-3/+6
| | | | | | 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-052-2/+10
| | | | 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-242-9/+22
| | | | | | | 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-014-15/+23
| | | | | | | | | | | | * 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-012-0/+6
| | | | 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-302-0/+11
| | | | | | script git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12495 dc483132-0cff-0310-8789-dd5450dbe970
* pullup from 1.2 branchKen Raeburn2000-06-272-3/+9
| | | | 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-153-0/+29
| | | | | | | | 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-073-7/+16
| | | | | | | | | | 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
* Clean up usage of CFLAGS, CPPFLAGS, DEFS, DEFINES, LOCAL_INCLUDES suchWilfredo Sanchez1999-10-261-1/+1
| | | | | | | 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
* * Makefile.in (unit-test-body-tcp, unit-test-body-udp): Pass $(RUNTESTFLAGS) toKen Raeburn1999-09-212-2/+7
| | | | | | 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-052-1/+10
| | | | | | to buildtop and thisconfigdir, respectively.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11087 dc483132-0cff-0310-8789-dd5450dbe970
* Remove trailing slash from thisconfigdir. Change directory syntaxTom Yu1998-02-181-1/+1
| | | | | | used in BUILDTOP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10464 dc483132-0cff-0310-8789-dd5450dbe970
* * client.c: Update header locations. Rename of xdr_freeTom Yu1998-02-144-8/+23
| | | | | | | | * 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-122-0/+14
| | | | | | | 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-122-0/+6
| | | | 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-103-2/+19
| | | | | | | 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-093-11/+15
| | | | 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-132-2/+8
| | | | | | 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-152-0/+6
| | | | | | 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-142-8/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9416 dc483132-0cff-0310-8789-dd5450dbe970
* clean: Remove test programs and objectsEzra Peisach1996-11-132-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9404 dc483132-0cff-0310-8789-dd5450dbe970
* * lib/helpers.exp, client.c, server.c, config/unix.exp,Barry Jaspan1996-11-126-22/+79
| | | | | | | Makefile.in: test GSS-RPC with both TCP and UDP transport layers [krb5-libs/180] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9389 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Fix test of $VERBOSE_TEST so that $VERBOSETom Yu1996-11-122-2/+10
| | | | | | only gets set if $VERBOSE_TEST is not empty. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9388 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test_setup.sh: Use a temp file rather than a here documentTom Yu1996-11-122-3/+8
| | | | | | feeding into eval because Ultrix sh doesn't deal. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9379 dc483132-0cff-0310-8789-dd5450dbe970
* Changes to support AC_CANONICAL_HOST for runtest flags; seeTom Yu1996-11-122-1/+6
| | | | | | ChangeLogs for details. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9378 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (client.o, server.o): client.o and server.o, notTom Yu1996-11-112-4/+6
| | | | | | client.c and server.c, depend on rpc_test.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9369 dc483132-0cff-0310-8789-dd5450dbe970
* Remove calls to macros that are a part of CONFIG_RULES;Tom Yu1996-11-082-2/+2
| | | | | | see ChangeLogs for details git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9338 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (server.o): Fix typo in previous checkinTom Yu1996-11-072-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9336 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Add dependencies on $(srcdir)/foo.c so that someTom Yu1996-11-062-0/+7
| | | | | | makes can deal with VPATH properly (e.g. NetBSD pmake) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9305 dc483132-0cff-0310-8789-dd5450dbe970
* We don't need the special case for linux anymore, since we'reTheodore Tso1996-11-062-11/+6
| | | | | | including the output from rpcgen in the source tree now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9303 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(LD) instead of $(CC) at link stage - this allows one to useEzra Peisach1996-10-312-2/+7
| | | | | | purify correctly. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9266 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo in lastEzra Peisach1996-10-311-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9259 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: Only run tests if required programs, librariesEzra Peisach1996-10-313-1/+26
| | | | | | | | available. * configure.in: Check for runtest, Perl, and tcl before making checks. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9258 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, rpc_test_clnt.c, rpc_test_svc.c, rpc_test.h:Barry Jaspan1996-10-245-9/+125
| | | | | | | distribute generated rpc_test_* files instead of running rpcgen on rpc_text.x [krb5-admin/133] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9240 dc483132-0cff-0310-8789-dd5450dbe970
* * rpc_test.0/expire.exp: add test for expired credentialsBarry Jaspan1996-10-164-96/+58
| | | | | | | | | | [krb5-admin/17] * server.c (log_miscerr): add log_miscerr * Makefile.in: don't delete rpc_test.x, we might be in souce tree git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9183 dc483132-0cff-0310-8789-dd5450dbe970