Koha-clms/xt/author
Tomas Cohen Arazi 0fc9f4d960
Bug 39741: Make valid-templates.t handle dirs
This patch changes the regex so it doesn't expect the exclusion
parameters to only be files but accept directories too.

The risk of this is we might at some point catch more than we want.

I don't think it is worth spending more time in it, though.

To test:
1. Run:
   $ ktd --shell
  k$ prove xt/author/valid-templates.t
=> SUCCESS: Tests pass!
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass! We don't need to list each individual file
anymore and it will still work!
4. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2025-05-06 18:48:27 +02:00
..
Text_CSV_Various.t Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
codespell.t Bug 39325: Skip codespell check for bullseye 2025-05-06 18:48:15 +02:00
icondirectories.t
…
pod_checker.t Bug 39319: Improve pod_checker.t 2025-04-14 08:51:22 +02:00
pod_coverage.t Bug 39367: Add POD coverage tests 2025-04-23 09:35:16 +02:00
podcorrectness.t Bug 39325: Automatic fix 2025-04-28 18:51:22 +02:00
show-template-structure.pl
…
valid-templates.t Bug 39741: Make valid-templates.t handle dirs 2025-05-06 18:48:27 +02:00