diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-08 11:17:44 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-08 15:23:32 +0200 |
commit | e11b9f85b5ad0454cdf3828c4876ec7de3f4799a (patch) | |
tree | 487d699120a399afe5975d52efffe7727e5a9ac3 /src/tests/util-tests.c | |
parent | 450c2b78ff0bd5044c4c73f32ca8459b211dd446 (diff) | |
download | sssd-e11b9f85b5ad0454cdf3828c4876ec7de3f4799a.tar.gz sssd-e11b9f85b5ad0454cdf3828c4876ec7de3f4799a.tar.xz sssd-e11b9f85b5ad0454cdf3828c4876ec7de3f4799a.zip |
tests: Revert strcmp condition
Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'src/tests/util-tests.c')
-rw-r--r-- | src/tests/util-tests.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/util-tests.c b/src/tests/util-tests.c index f9301a523..24ee6ab49 100644 --- a/src/tests/util-tests.c +++ b/src/tests/util-tests.c @@ -1013,7 +1013,7 @@ START_TEST(test_known_service) svcs = get_known_services(); for (i = 0; svcs[i]; i++) { ck_assert_str_ne(svcs[i], "nosuchservice"); - if (strcmp(svcs[i], "nss")) { + if (strcmp(svcs[i], "nss") == 0) { found_nss = true; } } |