Tests: Add testing for hook args. Doesn't work.

This commit is contained in:
Paul Beckingham 2015-04-05 13:04:51 -04:00
parent 0a54d46589
commit d31227d2e2
2 changed files with 97 additions and 0 deletions

View 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