CI: fail sync test if there are errors in log

This commit is contained in:
SChernykh
2025-10-03 13:34:02 +02:00
parent e3d680ec46
commit 6fc51d5a31
2 changed files with 45 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind' > errors.log
if [ -s errors.log ]; then
exit 1
fi