Bugzilla – Attachment 49296 Details for
Bug 16101
Exclude /usr/share/perl errors in check_valid
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16101: Exclude /usr/share/perl errors in check_valid
Bug-16101-Exclude-usrshareperl-errors-in-checkvali.patch (text/plain), 909 bytes, created by
Mark Tompsett
on 2016-03-18 02:09:46 UTC
(
hide
)
Description:
Bug 16101: Exclude /usr/share/perl errors in check_valid
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2016-03-18 02:09:46 UTC
Size:
909 bytes
patch
obsolete
>From b844efc3ba3b0f5f589d8360c257137aa7232c95 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Thu, 17 Mar 2016 22:04:14 -0400 >Subject: [PATCH] Bug 16101: Exclude /usr/share/perl errors in check_valid > >TEST PLAN >--------- >1) In kohaclone, apply bug 15870 >2) Run the koha qa test tools > -- the valid check fails >3) In your qa test tools apply this patch >4) In kohaclone, run the koha qa test tools again > -- everything should pass >--- > QohA/File/Perl.pm | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/QohA/File/Perl.pm b/QohA/File/Perl.pm >index b25035a..e0c5548 100644 >--- a/QohA/File/Perl.pm >+++ b/QohA/File/Perl.pm >@@ -139,6 +139,10 @@ sub check_valid { > > > my @errors = split '\n', $rs; >+ >+# exclude /usr/share/perl errors >+ @errors = grep {!/at \/usr\/share\/perl/} @errors; >+ > s/at .* line .*$// for @errors; > s/.*syntax OK$// for @errors; > >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16101
: 49296