summaryrefslogtreecommitdiff
path: root/source4/torture/smbtorture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/smbtorture.c')
-rw-r--r--source4/torture/smbtorture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 271444ed9c..3ac7e2a762 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -235,9 +235,9 @@ static void simple_test_start (struct torture_test *test)
printf("Testing %s...\n", test->name);
}
-static void simple_test_result (struct torture_test *test, enum torture_result res)
+static void simple_test_result (struct torture_test *test, enum torture_result res, const char *reason)
{
- printf("\t %d\n",res);
+ printf("\t %d: %s\n",res, reason?reason:"");
}
static void simple_comment (struct torture_test *test, const char *comment)