Bugzilla – Attachment 103410 Details for
Bug 19821
Run tests on a separate database
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 19821: Close filehandle after writing
Bug-19821-Close-filehandle-after-writing.patch (text/plain), 1.16 KB, created by
Victor Grousset/tuxayo
on 2020-04-21 19:54:00 UTC
(
hide
)
Description:
Bug 19821: Close filehandle after writing
Filename:
MIME Type:
Creator:
Victor Grousset/tuxayo
Created:
2020-04-21 19:54:00 UTC
Size:
1.16 KB
patch
obsolete
>From 900bc0f3e64d5a9a5e7b331e9237d5d23f75a4e0 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 18 Dec 2017 09:09:58 +0100 >Subject: [PATCH] Bug 19821: Close filehandle after writing > >Signed-off-by: Jon Knight <J.P.Knight@lboro.ac.uk> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Signed-off-by: Bouzid Fergani <bouzid.fergani@inlibro.com> >Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net> >--- > t/lib/Bootstrap.pm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/lib/Bootstrap.pm b/t/lib/Bootstrap.pm >index f679d392ff..7fac260b99 100644 >--- a/t/lib/Bootstrap.pm >+++ b/t/lib/Bootstrap.pm >@@ -28,6 +28,7 @@ sub import { > > my ($fh, $filename) = tempfile('koha-conf.XXXXXX', TMPDIR => 1, UNLINK => 1); > $xml->toFH($fh); >+ close $fh; > > $ENV{KOHA_CONF} = $filename; > >@@ -45,7 +46,7 @@ sub import { > my $user = C4::Context->config('user'); > my $pass = C4::Context->config('pass'); > >- say "Create test database..."; >+ say "Create test database $database..."; > > my $dbh = DBI->connect("dbi:mysql:;host=$host;port=$port", $user, $pass, { > RaiseError => 1, >-- >2.26.2
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 19821
:
69825
|
69842
|
69843
|
69844
|
71817
|
75045
|
75091
|
75092
|
81893
|
81894
|
81895
|
81896
|
81897
|
81898
|
81899
|
81900
|
99435
|
99436
|
99437
|
99438
|
99439
|
99440
|
99441
|
103409
|
103410
|
103411
|
103412
|
103413
|
103414
|
103415
|
105876
|
105877
|
105878
|
105879
|
105880
|
105881
|
105882
|
120417
|
120418
|
120419
|
120420
|
120421
|
120422
|
120423