mirror of
https://github.com/taosdata/TDengine
synced 2026-05-24 10:09:01 +00:00
* restore .gitmodules * Revert "[TD-13408]<test>: move tests out" This reverts commitf80a4ca49f. * revertf80a4ca49f* immigrate file change from stand-alone repo to TDengine for 3.0 * remove tests repository for Jenkinsfile2 Co-authored-by: tangfangzhi <fztang@taosdata.com>
46 lines
No EOL
897 B
Text
46 lines
No EOL
897 B
Text
system sh/stop_dnodes.sh
|
|
system sh/deploy.sh -n dnode1 -i 1
|
|
system sh/exec.sh -n dnode1 -s start
|
|
sleep 2000
|
|
sql connect
|
|
|
|
print =============== show accounts
|
|
sql show accounts
|
|
if $rows != 1 then
|
|
return -1
|
|
endi
|
|
|
|
print $data00 $data01 $data02
|
|
|
|
print =============== create account1
|
|
sql create account account1 PASS 'account1'
|
|
sql show accounts
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
|
|
print $data00 $data01 $data02
|
|
print $data10 $data11 $data22
|
|
|
|
print =============== create account2
|
|
sql create account account2 PASS 'account2'
|
|
sql show accounts
|
|
if $rows != 3 then
|
|
return -1
|
|
endi
|
|
|
|
print $data00 $data01 $data02
|
|
print $data10 $data11 $data22
|
|
print $data20 $data11 $data22
|
|
|
|
print =============== drop account1
|
|
sql drop account account1
|
|
sql show accounts
|
|
if $rows != 2 then
|
|
return -1
|
|
endi
|
|
|
|
print $data00 $data01 $data02
|
|
print $data10 $data11 $data22
|
|
|
|
system sh/exec.sh -n dnode1 -s stop -x SIGINT |