DRSUAPI torture tests refactoring - work in progress

Kamen Mazdrashki kamen.mazdrashki at postpath.com
Thu Sep 10 17:27:42 MDT 2009


Hi Andrew,

Please find attached few patches for RPC-DRSUAPI test case.
Added value in those patches is that test case still fails,
but now fails gracefully while printing the exact location 
of failure. 
Test case is also refactored to be more compact and readable
(whenever possible).

RPC-DRSUAPI test status is as follows:
- it seems it passes 'make test TESTS=drsuapi' - attached is log
  file and summary file. I can't quite understand what is going on
  under the hood and what exactly is tested. However, I think 
  it should fail against samba (as the test case fails against Win).
  Perhaps it is the 'rpc.drsuapi.*' line in selftest/knowfail file
  that makes the test to be displayed as success.
- W2K3-R2 -> test case still fails. I am on figuring out why and
  trying to fix it.
- W2K8-R2 -> test case can't be executed as torture_join_domain()
  function fails.

CU,
Kamen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: summary
Type: application/octet-stream
Size: 18 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make_test_drsuapi.log
Type: application/octet-stream
Size: 3471 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s4-tort-Propagate-torture_context-and-use-torture_c.patch
Type: application/octet-stream
Size: 17139 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-s4-tort-assert-macro-for-drsuapi-dcerpc-call.patch
Type: application/octet-stream
Size: 1711 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-s4-tort-code-clean-up-using-torture_drsuapi_assert_.patch
Type: application/octet-stream
Size: 10714 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-s4-tort-RPC-DRSUAPI-test-case-refactored-to-match-t.patch
Type: application/octet-stream
Size: 7991 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20090911/ee03125b/attachment-0005.obj>


More information about the samba-technical mailing list