From 089a45c5dfc28bf3c28a1fcfc0080833509fdd14 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 22 Mar 2017 08:49:57 +0100 Subject: [PATCH] Change exit_checker comment on returned status Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/3012) --- test/testlib/OpenSSL/Test.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index cbfc867a7f..7420884d04 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -91,9 +91,9 @@ my %hooks = ( # exit_checker is used by run() directly after completion of a command. # it receives the exit code from that command and is expected to return - # 1 (for success) or 0 (for failure). This is the value that will be - # returned by run(). - # NOTE: When run() gets the option 'capture => 1', this hook is ignored. + # 1 (for success) or 0 (for failure). This is the status value that run() + # will give back (through the |statusvar| referens and as returned value + # when capture => 1 doesn't apply). exit_checker => sub { return shift == 0 ? 1 : 0 }, ); -- 2.25.1