From: Ezra Peisach Date: Sat, 9 Nov 1996 19:27:37 +0000 (+0000) Subject: * Makefile.in (check-unix): Invoking t_ser requires that X-Git-Tag: krb5-1.0-freeze1~73 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=ab4801108de9cbe37502ba0d9ba3e9bff4c0200d;p=krb5.git * 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 --- diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index bb1e3f8df..caffd097d 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 + + * 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 * 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 ea8330040..939c1a513 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 3e0062d85..5ad2f951e 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); }