Unittest - Enhanced support for testing hooks (wip)
* It is now possible to test: * Hook Input/Output on STDIN/STDOUT channels * Exit code of hook script * Execution count (how many times the hook was executed) * Timestamp execution (when was the hook executed - milisec resolution)
This commit is contained in:
5
test/test_hooks/on-launch.dummy
Normal file
5
test/test_hooks/on-launch.dummy
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo "on-launch executed"
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user