test/recipes/80-test_cmp_http.t: Simplify test_cmp_http()
authorRichard Levitte <levitte@openssl.org>
Wed, 2 Jun 2021 06:14:08 +0000 (08:14 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 6 Jun 2021 05:34:44 +0000 (07:34 +0200)
commitd00be9f38760b5f143a7cdecf6c61ad6316f4cc8
treee0159474ea4348ce24fb75ca6c7a21ef43566870
parent0ebef5b5098e5d15cf2e7f48a78b22cced41f352
test/recipes/80-test_cmp_http.t: Simplify test_cmp_http()

test_cmp_http() made some assumptions about what values that exit_checker
could get that aren't quite right.

Furthermore, the expected result isn't about exit codes, but about
true or false.  This is better served by getting the value from
OpenSSL::Test::run(), and checking that value against $expected_result
with Test::More::is().

Fixes #15557
Fixes #15571

Reviewed-by: David von Oheimb <david.von.oheimb@siemens.com>
(Merged from https://github.com/openssl/openssl/pull/15580)
test/recipes/80-test_cmp_http.t