s4-pfm_test: no need to test created prefixMap contents here - it already tested
authorKamen Mazdrashki <kamenim@samba.org>
Tue, 26 Oct 2010 18:20:11 +0000 (21:20 +0300)
committerKamen Mazdrashki <kamenim@samba.org>
Tue, 26 Oct 2010 19:17:41 +0000 (22:17 +0300)
source4/torture/drs/unit/prefixmap_tests.c

index 7a90f18b5be3612cc1b3e184480a559ede184c4a..5aba5d157b4a3748ecd5adc0029d4c917f95dd16 100644 (file)
@@ -306,9 +306,6 @@ static bool torture_drs_unit_pfm_make_attid_small_map(struct torture_context *tc
        /* create new prefix map */
        werr = dsdb_schema_pfm_new(mem_ctx, &pfm);
        torture_assert_werr_ok(tctx, werr, "dsdb_schema_pfm_new() failed!");
-       torture_assert(tctx, pfm != NULL, "NULL prefixMap created!");
-       torture_assert(tctx, pfm->length > 0, "Empty prefixMap created!");
-       torture_assert(tctx, pfm->prefixes != NULL, "No prefixes for newly created prefixMap!");
 
        /* make some ATTIDs and check result */
        for (i = 0; i < ARRAY_SIZE(_prefixmap_test_data); i++) {