diff options
author | Ezra Peisach <epeisach@mit.edu> | 1996-11-09 19:27:37 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 1996-11-09 19:27:37 +0000 |
commit | ab4801108de9cbe37502ba0d9ba3e9bff4c0200d (patch) | |
tree | 697105361c4b16dd22e99ec3ab069e9901519593 /src/lib | |
parent | 48cd003d81ba2ae3824399237a8ec1a7cfb86e34 (diff) | |
download | krb5-ab4801108de9cbe37502ba0d9ba3e9bff4c0200d.tar.gz krb5-ab4801108de9cbe37502ba0d9ba3e9bff4c0200d.tar.xz krb5-ab4801108de9cbe37502ba0d9ba3e9bff4c0200d.zip |
* Makefile.in (check-unix): Invoking t_ser requires that
KRB5_CONFIG points to a valid krb5.conf
* t_ser.c (main): If verbose flag is set and there is an error,
display error message.
This would not have been noticed on a system with a valid /etc/krb5.conf...
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9352 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/krb5/krb/ChangeLog | 8 | ||||
-rw-r--r-- | src/lib/krb5/krb/Makefile.in | 3 | ||||
-rw-r--r-- | src/lib/krb5/krb/t_ser.c | 3 |
3 files changed, 13 insertions, 1 deletions
diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index bb1e3f8df2..caffd097d4 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,11 @@ +Sat Nov 9 14:19:28 1996 Ezra Peisach <epeisach@mit.edu> + + * Makefile.in (check-unix): Invoking t_ser requires that + KRB5_CONFIG points to a valid krb5.conf + + * t_ser.c (main): If verbose flag is set and there is an error, + display error message. + Wed Nov 6 14:02:21 1996 Theodore Y. Ts'o <tytso@mit.edu> * init_ctx.c (krb5_init_context): Initialize the error tables, so diff --git a/src/lib/krb5/krb/Makefile.in b/src/lib/krb5/krb/Makefile.in index ea8330040d..939c1a513c 100644 --- a/src/lib/krb5/krb/Makefile.in +++ b/src/lib/krb5/krb/Makefile.in @@ -204,7 +204,8 @@ check-unix:: $(TEST_PROGS) > test.out cmp test.out $(srcdir)/t_ref_kerb.out $(RM) test.out - $(RUN_SETUP) ./t_ser + KRB5_CONFIG=$(srcdir)/t_krb5.conf ; export KRB5_CONFIG ;\ + $(RUN_SETUP) ./t_ser check-mac:: $(TEST_PROGS) diff --git a/src/lib/krb5/krb/t_ser.c b/src/lib/krb5/krb/t_ser.c index 3e0062d859..5ad2f951e4 100644 --- a/src/lib/krb5/krb/t_ser.c +++ b/src/lib/krb5/krb/t_ser.c @@ -713,5 +713,8 @@ main(argc, argv) } else printf("%s: usage is %s [-acekprsxvACEKPRSX]\n", argv[0], argv[0]); + if(kret && verbose) { + com_err(argv[0], kret, "-- test failed ---"); + } return((kret) ? 1 : 0); } |