mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Tests: Add testing for hook args. Doesn't work.
This commit is contained in:
parent
0a54d46589
commit
d31227d2e2
2 changed files with 97 additions and 0 deletions
26
test/test_hooks/on-launch-good-env
Normal file
26
test/test_hooks/on-launch-good-env
Normal file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
# 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 $1
|
||||
echo $2
|
||||
echo $3
|
||||
echo $4
|
||||
echo $5
|
||||
echo $6
|
||||
#for arg in $*
|
||||
#do
|
||||
# echo $arg
|
||||
#done
|
||||
|
||||
# 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