Commit graph

3 commits

Author SHA1 Message Date
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
Dustin J. Mitchell
dcbe916286
Make test hooks executable (#3728) 2024-12-17 19:08:48 -05:00
Wilhelm Schuermann
5cd1649db2 Tests: Add failing on-modify hook
- An on-modify hook that reverts all changes (i.e. returns the original
  task) should result in no changes.  Currently the "modified:"
  attribute gets updated despite no other changes being present.
2015-09-04 21:39:08 +02:00