Unit Tests

- Added sample hooks that behave/misbehave in various ways.
This commit is contained in:
Paul Beckingham 2015-01-31 18:34:25 -05:00
parent 1cfdfbae52
commit 3ff42af9c7
22 changed files with 421 additions and 0 deletions

View file

@ -0,0 +1,16 @@
#!/bin/bash
# The on-exit event is triggered once, after all processing is complete.
# This hooks script has no effect on processing.
# Input:
# - Read-only line of JSON for each task added/modified
# Output:
# - Optional feedback/error.
echo 'FEEDBACK'
# Status:
# - 0: JSON ignored, non-JSON is feedback.
# - non-0: JSON ignored, non-JSON is error.
exit 0