]> 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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Sun, 22 Jan 2017 20:16:04 +0000 (21:16 +0100)
commit08d780aca2d905098df566a331e141ec02988ca5
treea574c23fccad3d75069bfe29a9492020456f2fab
parent6f1c11fdaeca6a89645bee7ead233a54c371caf1
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>
(cherry picked from commit 7401d9422be26c5ff900269a10e70c9ca4364de6)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Sitemapper.t