diff options
author | Pauli <paul.dale@oracle.com> | 2020-12-12 21:25:40 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-12-15 20:03:07 +1000 |
commit | a21a1c23c97163d341d1caf07c2160fcb68506b0 (patch) | |
tree | 971a13ba6d5c9e537d79c5834ee93a86c14f1b9f | |
parent | 2f06c34b0eb658e80d82be8f7f0b54305a9cf68b (diff) |
test: print OPENSSL_TEST_RAND_ORDER=x when a randomised test fails.
The previous message "random seed x" is a lot less descriptive.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/13672)
-rw-r--r-- | test/testutil/driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/testutil/driver.c b/test/testutil/driver.c index 9343dfb016..0b4332b492 100644 --- a/test/testutil/driver.c +++ b/test/testutil/driver.c @@ -256,7 +256,7 @@ PRINTF_FORMAT(2, 3) static void test_verdict(int verdict, test_flush_stderr(); if (verdict == 0 && seed != 0) - test_printf_tapout("# random seed: %d\n", seed); + test_printf_tapout("# OPENSSL_TEST_RAND_ORDER=%d\n", seed); test_printf_tapout("%s ", verdict != 0 ? "ok" : "not ok"); va_start(ap, description); test_vprintf_tapout(description, ap); |