mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Unit Tests
- Added sample hooks that behave/misbehave in various ways.
This commit is contained in:
parent
1cfdfbae52
commit
3ff42af9c7
22 changed files with 421 additions and 0 deletions
17
test/test_hooks/on-launch-good
Normal file
17
test/test_hooks/on-launch-good
Normal file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
# The on-launch event is triggered once, after initialization, before any
|
||||
# processing occurs. This hooks script has no effect on processing.
|
||||
|
||||
# Input:
|
||||
# - None
|
||||
|
||||
# Output:
|
||||
# - Optional feedback/error.
|
||||
echo 'FEEDBACK'
|
||||
|
||||
# Status:
|
||||
# - 0: JSON ignored, non-JSON is feedback.
|
||||
# - non-0: JSON ignored, non-JSON is error.
|
||||
exit 0
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue