github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/engine/test/utils/check_log.sh (about) 1 #!/bin/bash 2 3 grep "Run all test success" /tmp/tiflow_engine_test/engine_it.log || exit 1 4 5 grep -rE "\[PANIC\]|panic:" /tmp/tiflow_engine_test 6 7 if [ $? -eq 0 ]; then 8 echo "found tiflow panic" 9 exit 1 10 else 11 exit 0 12 fi