taskwarrior/test/test_hooks
Dustin J. Mitchell c639cc030d
Fix and test handling of backslashes in hooks (#3909)
* Update hooks to use `read -r` and `printf`

This portably avoids any interpretation of backslash escapes by the
shell.

* Support running make_tc_task elsewhere

* Add a test for backslashes in task descriptions
2025-07-08 08:40:34 +02:00
..
on-add-accept Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-misbehave1 Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-add-misbehave2 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-misbehave3 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-misbehave4 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-misbehave5 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-misbehave6 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-modify Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add-reject Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-add.dummy Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-exit-bad Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-exit-good Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-exit-misbehave1 Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-exit-misbehave2 Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-exit.dummy Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-launch-bad Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-launch-good Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-launch-good-env Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-launch-misbehave1 Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-launch-misbehave2 Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-launch.dummy Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-modify-accept Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-for-template-badexit.py Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-modify-for-template.py Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
on-modify-misbehave2 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-misbehave3 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-misbehave4 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-misbehave5 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-misbehave6 Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-reject Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify-revert Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
on-modify.dummy Fix and test handling of backslashes in hooks (#3909) 2025-07-08 08:40:34 +02:00
wrapper.sh Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00