diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-02-16 12:47:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:48:24 -0500 |
commit | f86444b516eed15f385085542cc14a612fe3db03 (patch) | |
tree | e24a485564ba17a9be5ac11abf1a6ca0da7c7d1f /source4/torture/ndr/ndr.c | |
parent | f2d9c313c6649eeca3634c1808ca57f42b534e56 (diff) | |
download | samba-f86444b516eed15f385085542cc14a612fe3db03.tar.gz samba-f86444b516eed15f385085542cc14a612fe3db03.tar.bz2 samba-f86444b516eed15f385085542cc14a612fe3db03.zip |
r21381: dfs tests.
(This used to be commit 3ef8a6834df63a0bfa68996daea6432e98243d40)
Diffstat (limited to 'source4/torture/ndr/ndr.c')
-rw-r--r-- | source4/torture/ndr/ndr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/torture/ndr/ndr.c b/source4/torture/ndr/ndr.c index 2d949ae044..c8c2b05df3 100644 --- a/source4/torture/ndr/ndr.c +++ b/source4/torture/ndr/ndr.c @@ -45,7 +45,10 @@ static bool wrap_ndr_pull_test(struct torture_context *tctx, torture_assert_ntstatus_ok(tctx, data->pull_fn(ndr, data->ndr_flags, ds), "pulling"); - return check_fn(tctx, ds); + if (check_fn != NULL) + return check_fn(tctx, ds); + else + return true; } _PUBLIC_ struct torture_test *_torture_suite_add_ndr_pull_test( @@ -89,6 +92,7 @@ NTSTATUS torture_ndr_init(void) torture_suite_add_suite(suite, ndr_atsvc_suite(suite)); torture_suite_add_suite(suite, ndr_lsa_suite(suite)); torture_suite_add_suite(suite, ndr_epmap_suite(suite)); + torture_suite_add_suite(suite, ndr_dfs_suite(suite)); torture_register_suite(suite); |