mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
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)
This commit is contained in:
parent
4460ad90af
commit
4e1819a9a6
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user