From e456c69498bfe5beb8421bcde523d24f50a34d0c Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 21 Sep 2010 20:11:43 -0700 Subject: torture: Fix running individual tests. --- lib/torture/torture.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/torture/torture.h') 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, -- cgit