Koha-clms/xt
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
..
author Bug 39741: Make valid-templates.t handle dirs 2025-05-06 18:48:27 +02:00
api.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
check_makefile.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
find-license-problems.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
find-misplaced-executables.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
find-missing-auth_checks.t Bug 24879: Exclude koha_perl_deps.pl 2024-04-03 17:05:51 +02:00
find-missing-csrf.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
find-missing-filters.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
find-missing-op-in-forms.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
js_tidy.t Bug 39115: Remove exclude list from js_tidy.t 2025-02-17 13:10:20 +01:00
perltidy.t Bug 39149: Make perltidy.t also check .PL files 2025-02-18 15:35:53 +01:00
pl_valid.t Bug 39365: Add tests 2025-04-23 09:35:17 +02:00
single_quotes.t Bug 39304: Make sure git commands return something 2025-04-22 08:46:25 +02:00
tt_tidy.t Bug 39115: Remove exclude list from tt_tidy.t 2025-02-17 13:10:20 +01:00
verify-debian-docbook.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
verify-yarnlock.t Bug 37490: Add a test to detect when yarn.lock is not updated 2024-09-02 12:13:47 +02:00
verify_bib1.att.t Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
vue_tidy.t Bug 39119: Make js_tidy and vue_tidy test use the tidy script 2025-02-13 17:11:09 +01:00
yaml_valid.pl Bug 38664: Tidy the whole codebase 2025-02-11 14:58:24 +01:00
yaml_valid.t Bug 39319: Fixes for Pod::Checker 2025-04-14 08:51:21 +02:00