summaryrefslogtreecommitdiff
path: root/src/tests/gssapi/t_export_cred.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/gssapi/t_export_cred.py')
-rwxr-xr-xsrc/tests/gssapi/t_export_cred.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/tests/gssapi/t_export_cred.py b/src/tests/gssapi/t_export_cred.py
index 698835928901..b98962788b58 100755
--- a/src/tests/gssapi/t_export_cred.py
+++ b/src/tests/gssapi/t_export_cred.py
@@ -23,9 +23,7 @@ def ccache_restore(realm):
def check(realm, args):
ccache_restore(realm)
realm.run(['./t_export_cred'] + args)
- output = realm.run([klist, '-f'])
- if 'Flags: Ff' not in output:
- fail('Forwarded tickets not found in ccache after t_export_cred')
+ realm.run([klist, '-f'], expected_msg='Flags: Ff')
# Check a given set of arguments with no specified mech and with krb5
# and SPNEGO as the specified mech.