]> git.koha-community.org Git - koha.git/commit
Bug 17920: t/db_dependent/Sitemapper.t fails because of permissions
authorMark Tompsett <mtompset@hotmail.com>
Tue, 17 Jan 2017 06:42:11 +0000 (06:42 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:04:21 +0000 (14:04 +0000)
commit7401d9422be26c5ff900269a10e70c9ca4364de6
treee369051f98ac1ba46632923f705388943aa195c2
parent9fe4f3b2bac53afe4844a42ec71da0640aeaeb97
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

Tested without qa tools
Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Sitemapper.t