summaryrefslogtreecommitdiff
path: root/source4/torture/drs/unit
AgeCommit message (Collapse)AuthorFilesLines
2009-11-27s4-drstest: don't use getenv("LDB_URL") in test suitesAndrew Tridgell1-18/+7
I was stumped for a while as to why the drs test suite was failing for me. It turned out that it looked for LDB_URL in the environment, and used it if set. I had it set in my terminal, and it was happily munching on my sam.ldb while testing. Quite a cute bug really :-)
2009-11-06s4/drs(tort): _torture_drs_pfm_compare_same() should not fail tctx by itselfKamen Mazdrashki1-19/+35
The responsibility for failing torture_context sould be for the caller. This gives better control in for test case driver function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): Test case for dsdb_create_prefix_mapping() implementedKamen Mazdrashki1-0/+88
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): refactor - SCHEMA_INFO_DEFAULT defined on file scopeKamen Mazdrashki1-9/+11
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): prefixMap read/write in LDB test caseKamen Mazdrashki1-0/+43
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): Create temporary LDB for testing purposesKamen Mazdrashki1-0/+67
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): prefixMap to/from ldb_val serialization test caseKamen Mazdrashki1-2/+61
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs: dsdb_schema_pfm_from_drsuapi_pfm() to accept partial drsuapi_prefixMapKamen Mazdrashki1-1/+11
"partial drsuapi_prefixMap" is a prefix map without last entry being special - i.e. map that does not contains schema_info entry. Test for dsdb_schema_pfm_from_drsuapi_pfm() were also extended to cover both 'full' and 'partial' map conversion. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): test for schema_prefixMap to/from drsuapi_prefixMap conversionKamen Mazdrashki1-0/+51
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4/drs(tort): implement prefixMap comparison functionKamen Mazdrashki1-13/+23
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-06s4:torture/drs: move intern/ => unit/Stefan Metzmacher1-0/+400
metze