Update a kadm5 testing library function which was calling
authorGreg Hudson <ghudson@mit.edu>
Fri, 28 Aug 2009 21:02:51 +0000 (21:02 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 28 Aug 2009 21:02:51 +0000 (21:02 +0000)
kadm5_get_principal without a mask argment.  This was causing many
lib/kadm5 tests to fail, but the failures weren't being recorded
properly, so "make check" was still exiting successfully.

ticket: 6544

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22646 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/unit-test/lib/lib.t

index 361c727da83af692e8ce340c45cc2071a5f8f013..232542c685debbe16430cb548d56efd1dc6df1a7 100644 (file)
@@ -173,7 +173,8 @@ proc principal_exists {name} {
     lib_start_api
 
     set ret [cmd [format {
-       kadm5_get_principal $lib_handle "%s" principal
+       kadm5_get_principal $lib_handle "%s" principal \
+         KADM5_PRINCIPAL_NORMAL_MASK
     } $name]]
 
 #   puts stdout "Finishing principal_exists."