libtorture: Improve suggestion to mention torture_assert_*() rather than
authorJelmer Vernooij <jelmer@samba.org>
Thu, 3 May 2012 14:38:31 +0000 (16:38 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 3 May 2012 16:28:05 +0000 (18:28 +0200)
torture_result().

lib/torture/torture.c

index a2799efe162a69e1c30a199c6f6eb4319aa51ffd..1b0a9564db2a0b649464b010af7015ec020d1447 100644 (file)
@@ -444,7 +444,7 @@ static bool internal_torture_run_test(struct torture_context *context,
            if (!success && context->last_result == TORTURE_OK) {
                    if (context->last_reason == NULL)
                            context->last_reason = talloc_strdup(context,
-                                       "Unknown error/failure. Missing torture_fail() or torture_result() call?");
+                                       "Unknown error/failure. Missing torture_fail() or torture_assert_*() call?");
                    context->last_result = TORTURE_ERROR;
            }
        }