github.com/pingcap/tiflow@v0.0.0-20240520035814-5bf52d54e205/dm/tests/dmctl_basic/check_list/stop_task.sh (about) 1 #!/bin/bash 2 3 function stop_task_wrong_arg() { 4 run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \ 5 "stop-task" \ 6 "stop-task \[-s source ...\] \[task-name | task-file\] \[flags\]" 1 7 run_dm_ctl $WORK_DIR "127.0.0.1:$MASTER_PORT" \ 8 "stop-task -s a -s b" \ 9 "stop-task \[-s source ...\] \[task-name | task-file\] \[flags\]" 1 10 }