Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
慢慢CG
TDengine
提交
d3a5a3ef
T
TDengine
项目概览
慢慢CG
/
TDengine
与 Fork 源项目一致
Fork自
taosdata / TDengine
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
TDengine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
d3a5a3ef
编写于
5月 09, 2020
作者:
S
slguan
提交者:
GitHub
5月 09, 2020
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1858 from taosdata/feature/changshuaiqiang/testcase
change sys -> monitor stream -> _root
上级
9878c7b9
e670b411
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
17 addition
and
17 deletion
+17
-17
tests/script/general/user/user_create.sim
tests/script/general/user/user_create.sim
+4
-4
tests/script/sh/stop_dnodes.sh
tests/script/sh/stop_dnodes.sh
+5
-5
tests/script/unique/account/user_create.sim
tests/script/unique/account/user_create.sim
+4
-4
tests/script/windows/account/user_create.sim
tests/script/windows/account/user_create.sim
+4
-4
未找到文件。
tests/script/general/user/user_create.sim
浏览文件 @
d3a5a3ef
...
...
@@ -34,10 +34,10 @@ print =============== step3
sql drop user read -x step31
return -1
step31:
sql drop user
sys
-x step32
sql drop user
_root
-x step32
return -1
step32:
sql drop user
stream
-x step33
sql drop user
monitor
-x step33
return -1
step33:
...
...
@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43
return -1
step43:
sql drop user
sys
-x step41
sql drop user
_root
-x step41
return -1
step41:
sql drop user
stream
-x step42
sql drop user
monitor
-x step42
return -1
step42:
...
...
tests/script/sh/stop_dnodes.sh
浏览文件 @
d3a5a3ef
...
...
@@ -2,14 +2,14 @@
PID
=
`
ps
-ef
|grep /usr/bin/taosd |
grep
-v
grep
|
awk
'{print $2}'
`
if
[
-n
"
$PID
"
]
;
then
echo s
udo
s
ystemctl stop taosd
s
udo
s
ystemctl stop taosd
echo
systemctl stop taosd
systemctl stop taosd
fi
PID
=
`
ps
-ef
|grep
-w
taosd |
grep
-v
grep
|
awk
'{print $2}'
`
while
[
-n
"
$PID
"
]
;
do
echo
sudo
kill
-9
$PID
sudo
pkill
-9
taosd
sudo
fuser
-k
-n
tcp 6030
echo kill
-9
$PID
pkill
-9
taosd
fuser
-k
-n
tcp 6030
PID
=
`
ps
-ef
|grep
-w
taosd |
grep
-v
grep
|
awk
'{print $2}'
`
done
tests/script/unique/account/user_create.sim
浏览文件 @
d3a5a3ef
...
...
@@ -35,10 +35,10 @@ print =============== step3
sql drop user read -x step31
return -1
step31:
sql drop user
sys
-x step32
sql drop user
_root
-x step32
return -1
step32:
sql drop user
stream
-x step33
sql drop user
monitor
-x step33
return -1
step33:
...
...
@@ -71,11 +71,11 @@ sql alter user read privilege 1 -x step43
return -1
step43:
sql drop user
sys
-x step41
sql drop user
_root
-x step41
return -1
step41:
sql drop user
stream
-x step42
sql drop user
monitor
-x step42
return -1
step42:
...
...
tests/script/windows/account/user_create.sim
浏览文件 @
d3a5a3ef
...
...
@@ -30,10 +30,10 @@ print =============== step3
sql drop user read -x step31
return -1
step31:
sql drop user
sys
-x step32
sql drop user
_root
-x step32
return -1
step32:
sql drop user
stream
-x step33
sql drop user
monitor
-x step33
return -1
step33:
...
...
@@ -64,11 +64,11 @@ sql alter user read privilege 1 -x step43
return -1
step43:
sql drop user
sys
-x step41
sql drop user
_root
-x step41
return -1
step41:
sql drop user
stream
-x step42
sql drop user
monitor
-x step42
return -1
step42:
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录