Return kinit output in k5test's K5Realm.kinit
authorGreg Hudson <ghudson@mit.edu>
Thu, 19 Apr 2012 17:55:07 +0000 (17:55 +0000)
committerGreg Hudson <ghudson@mit.edu>
Thu, 19 Apr 2012 17:55:07 +0000 (17:55 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25816 dc483132-0cff-0310-8789-dd5450dbe970

src/util/k5test.py

index 60c19acb2477c168ba31e9d8d09ca50adb03e693..1cd274a1e956090d4b260b7e21ca5d660e9bdb5b 100644 (file)
@@ -890,8 +890,8 @@ class K5Realm(object):
             input = password + "\n"
         else:
             input = None
-        self.run_as_client([kinit] + flags + [princname], input=input,
-                           **keywords)
+        return self.run_as_client([kinit] + flags + [princname], input=input,
+                                  **keywords)
 
     def klist(self, client_princ, service_princ=None, ccache=None, **keywords):
         if service_princ is None: