]> git.koha-community.org Git - koha.git/commit
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper
authorKyle Hall <kyle@bywatersolutions.com>
Tue, 7 Feb 2023 11:49:28 +0000 (06:49 -0500)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 8 Feb 2023 08:08:03 +0000 (08:08 +0000)
commit015ad1f7a7772da3787eb88266ea550793d39ea4
tree6bdef27a88c1257153228fcb150507a7b00bbe44
parentef28ea4315739f9d76134a0295fc684aa1c15e92
Bug 32612: (QA follow-up) Add BINMODE method to C4::SIP::Trapper

The module Log::Log4perl::Appender::Screen is attempting to change
binmode during unit tests for SIPServer and is failing because of
our tie in SIPServer.pm for reasons unknown.

This patch implements the perltie method TIEHANDLE which allows the
binmode to be handled in the C4::SIP::Trapper package.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit d00d07cae751986a220d114ff165cbf5206a0283)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/SIP/Trapper.pm