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>
This commit is contained in:
parent
9fe4f3b2ba
commit
7401d9422b
1 changed files with 1 additions and 1 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue