https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=44315 --- Comment #1 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 212744 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=212744&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) -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.