9 lines
366 B
Bash
Executable File
9 lines
366 B
Bash
Executable File
#!/bin/bash
|
|
# Filter out expected/transient errors during CI sync test
|
|
grep 'ERROR ' p2pool.log | grep -E -v 'submit_block|failed to bind|ZMQ is not running|ZMQReader disconnected|block header for seed|no connections to other p2pool nodes|m_transactionHashes is empty|calc_miner_tx_hash fast path' > errors.log
|
|
|
|
if [ -s errors.log ]; then
|
|
cat errors.log
|
|
exit 1
|
|
fi
|