github.com/pingcap/br@v5.3.0-alpha.0.20220125034240-ec59c7b6ce30+incompatible/tests/lightning_cmdline_override/run.sh (about) 1 #!/bin/sh 2 3 set -eux 4 5 run_lightning \ 6 -L info \ 7 --log-file "$TEST_DIR/lightning.log" \ 8 --tidb-host 127.0.0.1 \ 9 --tidb-port 4000 \ 10 --tidb-user root \ 11 --tidb-status 10080 \ 12 --pd-urls 127.0.0.1:2379 \ 13 -d "tests/$TEST_NAME/data" \ 14 --backend 'importer' \ 15 --importer 127.0.0.1:8808 16 17 run_sql 'SELECT * FROM cmdline_override.t' 18 check_contains 'a: 15'