Clarify that a test failed
authorRichard Levitte <levitte@openssl.org>
Wed, 10 May 2017 08:01:41 +0000 (10:01 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 11 May 2017 08:26:46 +0000 (10:26 +0200)
Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3423)

test/testutil/tests.c

index 9bd6cdeb242285348b63621993d69670361fdd99..a6c9a99df0fb767576065c4f7cc5cc505774d230 100644 (file)
@@ -33,7 +33,7 @@ static void test_fail_message_prefix(const char *prefix, const char *file,
     if (type)
         test_printf_stderr("(%s) ", type);
     if (op != NULL)
-        test_printf_stderr("%s %s %s", left, op, right);
+        test_printf_stderr("'%s %s %s' failed", left, op, right);
     if (file != NULL) {
         test_printf_stderr(" @ %s:%d", file, line);
     }