test/recipes/02_test_errstr.t: Make it less fragile
authorRichard Levitte <levitte@openssl.org>
Wed, 3 Jul 2019 17:11:36 +0000 (19:11 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 4 Jul 2019 10:06:43 +0000 (12:06 +0200)
commit7e47db5b5645cf6728d8fe13f930bad026c64689
tree417a550bcb390f9ca75486dd5ba693552e7971a2
parent7a2027240e1d01f7f5b209998d1de36af221b34b
test/recipes/02_test_errstr.t: Make it less fragile

Change it to split the error string returned by `openssl errstr` in a
more robust manner, and ensure it's the reason code we look at.

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/9304)
test/recipes/02-test_errstr.t