Bugzilla – Attachment 59060 Details for
Bug 17920
t/db_dependent/Sitemapper.t fails because of permissions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions
Bug-17920-tdbdependentSitemappert-fails-because-of.patch (text/plain), 1.12 KB, created by
Mark Tompsett
on 2017-01-17 06:44:40 UTC
(
hide
)
Description:
Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions
Filename:
MIME Type:
Creator:
Mark Tompsett
Created:
2017-01-17 06:44:40 UTC
Size:
1.12 KB
patch
obsolete
>From d6b546bbf8536bd4bb22c8dd0030c33e6c00a156 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Tue, 17 Jan 2017 06:42:11 +0000 >Subject: [PATCH] Bug 17920: t/db_dependent/Sitemapper.t fails because of > permissions > >The directory it attempts to create an xml file may not be writable for >the user running the test. By changing the directory from the current >directory to a temporary one, the test runs. After all 'chmod 777 >t/db_dependent' is a bad idea. > >TEST PLAN >--------- >1) sudo koha-shell "prove t/db_dependent/Sitemapper.t" kohadev > -- fails >2) apply patch >3) sudo koha-shell "prove t/db_dependent/Sitemapper.t" kohadev > -- succeeds >4) run koha qa test tools >--- > t/db_dependent/Sitemapper.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Sitemapper.t b/t/db_dependent/Sitemapper.t >index a1ea4f8..848fc3b 100755 >--- a/t/db_dependent/Sitemapper.t >+++ b/t/db_dependent/Sitemapper.t >@@ -64,7 +64,7 @@ $db->mock( > _new_schema => sub { return Schema(); } > ); > >-my $dir = File::Spec->rel2abs( dirname(__FILE__) ); >+my $dir = File::Spec->tmpdir(); > > > my $data = [ >-- >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 17920
:
59060
|
59067
|
59157