github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/tests/integration_tests/_utils/check_not_contains (about) 1 #!/bin/bash 2 3 set -eu 4 OUT_DIR=/tmp/tidb_cdc_test 5 6 if grep -Fq "$1" "$OUT_DIR/sql_res.$TEST_NAME.txt"; then 7 echo "TEST FAILED: OUTPUT CONTAINS '$1'" 8 echo "____________________________________" 9 cat "$OUT_DIR/sql_res.$TEST_NAME.txt" 10 echo "^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^" 11 exit 1 12 fi