diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-03-13 11:51:18 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2013-03-13 08:28:06 -0400 |
commit | ac821fee0289abce3d3afc2878e06341c33ff6b9 (patch) | |
tree | 470b5c3fb16f9b63cc9dd09b33b90504bdfabd82 /src | |
parent | f51639d8e48e353402e5f649f2fac7ff3143dfbd (diff) | |
download | sssd-ac821fee0289abce3d3afc2878e06341c33ff6b9.tar.gz sssd-ac821fee0289abce3d3afc2878e06341c33ff6b9.tar.bz2 sssd-ac821fee0289abce3d3afc2878e06341c33ff6b9.zip |
krb5-utils-tests: remove invalid condition
This condition is invalid because different_realm is not set, when
EINVAL is returned. It can make the test fail sometimes.
Diffstat (limited to 'src')
-rw-r--r-- | src/tests/krb5_utils-tests.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/tests/krb5_utils-tests.c b/src/tests/krb5_utils-tests.c index bc1890f0..aa2f4ed4 100644 --- a/src/tests/krb5_utils-tests.c +++ b/src/tests/krb5_utils-tests.c @@ -700,8 +700,6 @@ START_TEST(test_compare_principal_realm) ret = compare_principal_realm("userABC", "ABC", &different_realm); fail_unless(ret == EINVAL, "Missing '@' does not cause EINVAL."); - fail_unless(different_realm == false, "Same realm but " \ - "different_realm is not false."); ret = compare_principal_realm("user@ABC", "ABC", &different_realm); fail_unless(ret == EOK, "Failure with same realm"); fail_unless(different_realm == false, "Same realm but " \ |