summaryrefslogtreecommitdiffstats
path: root/src/kadmin/testing/scripts/env-setup.shin
Commit message (Collapse)AuthorAgeFilesLines
* Enable all localizations in main functionsBen Kaduk2012-07-061-2/+3
| | | | | | | | | | | | | | | Bite the bullet and pass LC_ALL to setlocale() instead of just LC_MESSAGES. Calls to setlocale() itself were introduced in fabbf9e443459e8c0161c84563690ed70c7f6a61 for ticket 6918, but only for LC_MESSAGES since only localized strings were needed and that was the most conservative option. However, klist, kadmin, and kinit (and perhaps others) would benefit from localized formats for times (i.e., LC_TIME). If potentially localized data is being sent on the wire, that is a bug that should be fixed. No such bugs are found with the current test suite, so we are comfortable enabling LC_ALL at this time. ticket: 7192
* Add krb5_kt_client_default APIGreg Hudson2012-07-021-0/+1
| | | | | | | | | | | | | | | | The default client keytab is intended to be used to automatically acquire initial credentials for client applications. The current hardcoded default is a placeholder, and will likely change before 1.11. Add test framework settings to ensure that a system default client keytab doesn't interfere with tests, and to allow tests to be written to deliberately use the default client keytab. Add documentation about keytabs to the concepts section of the RST docs, and describe the default client keytab there. ticket: 7188 (new)
* Get rid of fake-installGreg Hudson2011-11-041-2/+0
| | | | | | | | | Instead, use $(BUILDTOP)/plugins as the plugin base for tests. For each real plugin module, create a link in the parent directory if we're doing a shared-library build--so built KDB modules can be found in plugins/kdb, preauth modules in plugins/preauth, etc.. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25436 dc483132-0cff-0310-8789-dd5450dbe970
* Fix process list spew in verbose kadmin testsGreg Hudson2011-07-181-2/+2
| | | | | | | Set PS_PID to "ps uwwp" so we display only the process we're trying to point out, and not the whole process table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25021 dc483132-0cff-0310-8789-dd5450dbe970
* Set LC_MESSAGES to "C" in tests which run commandsGreg Hudson2011-06-101-0/+3
| | | | | | ticket: 6918 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24964 dc483132-0cff-0310-8789-dd5450dbe970
* Clean up a little bit of test suite spew in env-setup: first, whenGreg Hudson2009-08-281-12/+6
| | | | | | | | using BSD options with ps, they should not be prefixed with a '-'; second, the Linux ps supports both BSD and System V options, so change the structure of the tests not to warn when both forms work. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22647 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kadmin v1 API supportGreg Hudson2009-08-131-2/+2
| | | | | | | | | | | | | | | The kadmin v1 API and the even older ovsec_kadm_* API were legacy when kadmin was first incorporated in 1996, and compatibility with them is no longer believed to be necessary. The uninstalled kadmin/passwd has been removed (since it used the ovsec API). The test suite has been updated to use the v2 API where appropriate, and the parts specifically designed to test the old API have been excised. ticket: 6544 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22521 dc483132-0cff-0310-8789-dd5450dbe970
* remove some krb4 testing hooksKen Raeburn2009-02-041-4/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21878 dc483132-0cff-0310-8789-dd5450dbe970
* fix more executable permissionsTom Yu2005-08-251-0/+0
| | | | | | | | | | Fix some more executable permissions missing from import. ticket: new tags: pullup target_version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17357 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Export $libdir.Ken Raeburn2005-08-171-0/+4
| | | | | | | * init_db: Substitue __MODDIR__ with the fakedest module directory. * start_servers: Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17336 dc483132-0cff-0310-8789-dd5450dbe970
* Tru64 and Irix have RPATH issues for test suiteTom Yu2004-02-121-1/+3
| | | | | | | | | | Implement hack for faking up _RLD_ROOT with a shadow of the directory tree up to the installed "lib" directory. This helps with running tests on Tru64 and Irix. ticket: 1793 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16066 dc483132-0cff-0310-8789-dd5450dbe970
* work around Solaris 9 pty-close bugTom Yu2003-12-061-0/+1
| | | | | | | | | | | | Create a LD_PRELOAD object, exitsleep, that will sleep for a short time prior to calling the real exit() function. This attempts to work around a Solaris 9 kernel bug where output will get lost if it is written to a pty immediately prior to the pty close. ticket: new component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15864 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Set KRB5CCNAME to something under $K5ROOTKen Raeburn2002-12-191-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15054 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Do not override the EXPECT environment variableEzra Peisach2000-07-031-1/+3
| | | | | | if set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12511 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (env-setup.stmp): If env-setup.stamp needs to be rebuilt,Theodore Tso1998-03-021-1/+1
| | | | | | | | | set CONFIG_FILES so that we only regenerate that one file. env-setup.shin: Rename SRCTOPDIR to S_TOP, which has been fixed to deal with absolute source paths. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10488 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin (STOP): SRCTOP -> SRCTOPDIRTom Yu1998-03-011-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10485 dc483132-0cff-0310-8789-dd5450dbe970
* Merge of libhack_branchTom Yu1997-02-091-2/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9831 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin, init_db, save_files.sh, start_servers,Barry Jaspan1996-11-141-0/+9
| | | | | | | | | | start_servers_local, stop_servers, stop_servers_local: move VERBOSE_TEST -> VERBOSE logic to env-setup.sh, make everything else inherit from it, and fix the sense of the test (Tom got it backwards); also fix init_db so that kdb5_util create is not always verbose git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9417 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Explicitly set KRB5CCNAME so the user's ccacheTom Yu1996-11-131-0/+1
| | | | | | doesn't get blown away. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9408 dc483132-0cff-0310-8789-dd5450dbe970
* Use single quotes around @KRB5_RUN_ENV@ so that bash doesn't try toTheodore Tso1996-11-071-1/+1
| | | | | | expand $(TOPLIBD) in the echo line. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9334 dc483132-0cff-0310-8789-dd5450dbe970
* * init_db: put KRB5_RUN_ENV_CSH in setup.cshBarry Jaspan1996-10-291-0/+5
| | | | | | * env-setup.shin: create KRB5_RUN_ENV_CSH for init_db git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9245 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin (TOPLIBD): Support for build tree shared libraryEzra Peisach1996-10-161-1/+7
| | | | | | | | | environment setup. [krb5-admin/80] * configure.in (RBUILD): Pass in proper top of build tree (not .. path) as this is build tree independent. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9180 dc483132-0cff-0310-8789-dd5450dbe970
* * krb5.conf.proto: s/localhost/__LOCALHOST__/Barry Jaspan1996-10-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9175 dc483132-0cff-0310-8789-dd5450dbe970
* Check for expect in autoconf and subsititute into env-setup.shEzra Peisach1996-10-101-2/+1
| | | | | | Do not assume expect is /mit/gnu/expect. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9161 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.shin: Renamed env-setup.sh for autoconf useEzra Peisach1996-10-031-7/+8
| | | | | | | | | | | | | * init_db, start_servers, start_servers_local, stop_servers: Invoke scripts from source directory or build tree as needed. * configure.in, Makefile.in: generate env-setup.sh with proper paths already. (env-setup.shin was created - retaining the old history logs) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9138 dc483132-0cff-0310-8789-dd5450dbe970
* * start_servers, start_servers_local, stop_servers, init_db,Barry Jaspan1996-09-271-12/+6
| | | | | | | env-setup.sh: first pass at making TEST_SERVER remote server testing work git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9132 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.sh: set K5ROOT to $TESTDIR/krb5-test-root by default,Barry Jaspan1996-09-271-4/+3
| | | | | | but use an absolute path git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9128 dc483132-0cff-0310-8789-dd5450dbe970
* * env-setup.sh, init_db, start_servers_local: use K5ROOT insteadBarry Jaspan1996-09-261-3/+8
| | | | | | of /krb5 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9122 dc483132-0cff-0310-8789-dd5450dbe970
* * qualname.pl.in: Renamed old qualname to here as perl path needsEzra Peisach1996-09-261-1/+1
| | | | | | | | | | | updating. * Makefile.in (GEN_SCRIPTS): Add qualname.pl * start_servers_local, env-setup.sh (QUALNAME): Replace with qualname.pl. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9118 dc483132-0cff-0310-8789-dd5450dbe970
* create env-setup.shBarry Jaspan1996-09-201-0/+81
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9098 dc483132-0cff-0310-8789-dd5450dbe970