add option to stop after inject, check invalid combination of inject/check args

This commit is contained in:
John
2022-02-13 10:11:53 +01:00
parent e5c4f7e0c8
commit 7d47e24c6c
3 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ if [ -n "$RUNTEST" ]; then
echo "test failed"
exit 1
}
($RELEASE/usr/bin/ebusd -f -c src/lib/ebus/test -d /dev/null --checkconfig -i 10fe0900040000803e/ | egrep "received update-read broadcast test QQ=10: 0\.25$") || testdie
($RELEASE/usr/bin/ebusd -f -c src/lib/ebus/test -d /dev/null --inject=stop 10fe0900040000803e/ | egrep "received update-read broadcast test QQ=10: 0\.25$") || testdie
if [ "$RUNTEST" = "full" ]; then
(cd src/lib/ebus/test && make >/dev/null && ./test_filereader && ./test_data && ./test_message && ./test_symbol) || testdie
fi