[Koha-bugs] [Bug 13937] Add an Elasticsearch-compatible Z39.50/SRU daemon that can inject item status MARC subfields
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 15 08:47:11 CEST 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13937
--- Comment #207 from David Cook <dcook at prosentient.com.au> ---
Comment on attachment 94109
--> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=94109
Bug 13937: (QA follow-up) Make tests work with YAZ 4 and 5.
Review of attachment 94109:
--> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=13937&attachment=94109)
-----------------------------------------------------------------
::: t/db_dependent/Koha/Z3950Responder/GenericSession.t
@@ +82,5 @@
> $child = fork();
> if ($child == 0) {
> my $config_dir = dirname(__FILE__) . '/';
> + # Copy pqf.properties from etc/z3950
> + copy($config_dir . '../../../../etc/z3950/pqf.properties', $config_dir . 'pqf.properties') || die "Copying pqf.properties failed: $!";
This seems a little fragile to me. I don't know what we're doing in other
scripts, but it might be worth using https://perldoc.perl.org/FindBin.html
here?
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list