dsdb group audit: align dn_compare with memcmp
[garming/samba-autobuild/.git] / source4 / dsdb / samdb / ldb_modules / tests / test_group_audit.c
index 1f4cf3ea5b3d1ca7918e5b680ee9c537a095bfac..743ce206bc0e5e5db73428ae85820ff3c01602ef 100644 (file)
@@ -562,7 +562,7 @@ static void test_dn_compare(void **state)
        b->v = &bb;
 
        res = dn_compare(ctx, ldb, a, b);
-       assert_int_equal(GREATER_THAN, res);
+       assert_int_equal(LESS_THAN, res);
        /*
         * DN's should have been parsed
         */
@@ -590,7 +590,7 @@ static void test_dn_compare(void **state)
        b->v = &bb;
 
        res = dn_compare(ctx, ldb, a, b);
-       assert_int_equal(LESS_THAN, res);
+       assert_int_equal(GREATER_THAN, res);
        /*
         * DN's should have been parsed
         */