Fix trailing whitespace mismatch error when running 02-test_errstr.
authorShane Lontis <shane.lontis@oracle.com>
Wed, 15 Jul 2020 01:49:57 +0000 (11:49 +1000)
committerShane Lontis <shane.lontis@oracle.com>
Fri, 17 Jul 2020 03:51:15 +0000 (13:51 +1000)
commit8e78da06660b269fbdf8faba6bc3a356ee3fda5e
treeb5ad8494bd6842fa71085b3d9e5b9e0bb4d2202d
parentcb9bb7350d4192553683e61e64894e8ed197b44c
Fix trailing whitespace mismatch error when running 02-test_errstr.

Fixes #12449

On a aix7_ppc32 machine the error was of the form
match 'Previous owner died ' (2147483743) with one of ( 'Previous owner died', 'reason(95)' )
Stripping the trailing whitespace from the system error will address this issue.

Suggested fix by @pauldale.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/12451)
test/recipes/02-test_errstr.t