https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44315 --- Comment #3 from David Nind <david@davidnind.com> --- Created attachment 212750 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212750&action=edit Bug 44315: Add regression tests This patch adds tests for Koha::Sitemapper's error handling: when the target directory is not valid, or a sitemap file cannot be created, it must die instead of exiting the process with status 0. Test plan: 1. Apply patch 2. Run: $ ktd --shell k$ prove t/db_dependent/Sitemapper.t => FAIL: Tests fail! The test file stops when creating the Sitemapper with an invalid directory: Koha::Sitemapper calls exit 3. Sign off :-D Assisted-by: Opus 5.5 (Anthropic) Signed-off-by: David Nind <david@davidnind.com> -- You are receiving this mail because: You are watching all bug changes.