diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 20:11:43 -0700 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2010-09-21 22:54:34 -0700 |
commit | e456c69498bfe5beb8421bcde523d24f50a34d0c (patch) | |
tree | f82eefaa50c8cc9f3c1027d3594bb42997f4fb27 /lib/torture/torture.h | |
parent | e8b20039a7b77e17fd3caa66b68528f70d3b6cec (diff) | |
download | samba-e456c69498bfe5beb8421bcde523d24f50a34d0c.tar.gz samba-e456c69498bfe5beb8421bcde523d24f50a34d0c.tar.bz2 samba-e456c69498bfe5beb8421bcde523d24f50a34d0c.zip |
torture: Fix running individual tests.
Diffstat (limited to 'lib/torture/torture.h')
-rw-r--r-- | lib/torture/torture.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/torture/torture.h b/lib/torture/torture.h index 6482e89b94..78df076723 100644 --- a/lib/torture/torture.h +++ b/lib/torture/torture.h @@ -227,11 +227,19 @@ bool torture_run_suite_restricted(struct torture_context *context, bool torture_run_tcase(struct torture_context *context, struct torture_tcase *tcase); +bool torture_run_tcase_restricted(struct torture_context *context, + struct torture_tcase *tcase, const char **restricted); + /* Run the specified test */ bool torture_run_test(struct torture_context *context, struct torture_tcase *tcase, struct torture_test *test); +bool torture_run_test_restricted(struct torture_context *context, + struct torture_tcase *tcase, + struct torture_test *test, + const char **restricted); + void torture_comment(struct torture_context *test, const char *comment, ...) PRINTF_ATTRIBUTE(2,3); void torture_warning(struct torture_context *test, const char *comment, ...) PRINTF_ATTRIBUTE(2,3); void torture_result(struct torture_context *test, |