* Makefile.in (check-unix): Invoking t_ser requires that
authorEzra Peisach <epeisach@mit.edu>
Sat, 9 Nov 1996 19:27:37 +0000 (19:27 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sat, 9 Nov 1996 19:27:37 +0000 (19:27 +0000)
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

src/lib/krb5/krb/ChangeLog
src/lib/krb5/krb/Makefile.in
src/lib/krb5/krb/t_ser.c

index bb1e3f8df211bb35f2bbf0c3bf764d601b31a130..caffd097d496481a9c7148af053ad63ba751cdde 100644 (file)
@@ -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
index ea8330040d57d95de9eb921221a0520c6f484763..939c1a513c766a7261ff30f81633eae82ffc5296 100644 (file)
@@ -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)
 
index 3e0062d8598d634632e55dc9ec3df833ec165748..5ad2f951e4dd9227798ab3530582ac895e702971 100644 (file)
@@ -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);
 }