summaryrefslogtreecommitdiff
path: root/source4/torture/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/ui.c')
-rw-r--r--source4/torture/ui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/ui.c b/source4/torture/ui.c
index 35ff3cee7d..9c25991d20 100644
--- a/source4/torture/ui.c
+++ b/source4/torture/ui.c
@@ -79,6 +79,11 @@ void torture_fail(struct torture_test *test, const char *fmt, ...) _PRINTF_ATTRI
test->context->failed++;
}
+BOOL torture_result(struct torture_context *torture)
+{
+ return (torture->failed == 0);
+}
+
void torture_skip(struct torture_test *test, const char *fmt, ...) _PRINTF_ATTRIBUTE(2,3)
{
va_list ap;