11 lines
500 B
Plaintext
11 lines
500 B
Plaintext
system sh/stop_dnodes.sh
|
|
system sh/deploy.sh -n dnode1 -i 1
|
|
system sh/exec.sh -n dnode1 -s start
|
|
sql connect
|
|
|
|
system taos -P7100 -s 'select "a;b" as x\G' | grep -v 'Query OK' | grep -v 'Client Version' > /tmp/separator.result
|
|
system echo ----------------------diff start-----------------------
|
|
system git diff --exit-code --color tsim/query/r/separator.result /tmp/separator.result
|
|
system echo ----------------------diff succeed-----------------------
|
|
|
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT |