diff options
author | Pauli <paul.dale@oracle.com> | 2019-02-19 02:48:51 +0100 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-02-19 02:51:21 +0100 |
commit | 4e1819a9a6abe43a8923c227c85b287f87224bad (patch) | |
tree | bd2e19a3cbda3912d4f8caee33a4b5dd33391091 /test/property_test.c | |
parent | util/find-docs-nits: Recognise SPARSE_ARRAY_OF (diff) | |
download | openssl-4e1819a9a6abe43a8923c227c85b287f87224bad.tar.xz openssl-4e1819a9a6abe43a8923c227c85b287f87224bad.zip |
Fix a test ordering issue.
A randomised order causes failure due to unintentional dependencies between
two of the test cases.
[extended tests]
Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
(Merged from https://github.com/openssl/openssl/pull/8279)
Diffstat (limited to 'test/property_test.c')
-rw-r--r-- | test/property_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/property_test.c b/test/property_test.c index ac1a8f71c0..722de05d68 100644 --- a/test/property_test.c +++ b/test/property_test.c @@ -45,7 +45,7 @@ static int test_property_string(void) && TEST_int_ne(i, j) && TEST_int_eq(ossl_property_value("yes", 1), j) && TEST_int_eq(ossl_property_value("no", 1), i) - && TEST_int_ne(i = ossl_property_value("green", 1), 0) + && TEST_int_ne(i = ossl_property_value("illuminati", 1), 0) && TEST_int_eq(j = ossl_property_value("fnord", 1), i + 1) && TEST_int_eq(ossl_property_value("fnord", 1), j) /* Check name and values are distinct */ |