未验证 提交 25aac41d 编写于 作者: wafwerar's avatar wafwerar 提交者: GitHub

[TS-991]<fix>(tools): taos-tools uninstall. (#9739)

* [TS-991]<fix>(tools): taos-tools uninstall.

* [TS-991]<fix>(tools): taos-tools uninstall.

* [TS-991]<fix>(tools): update taosTools

* [TS-991]<fix>(tools): update test case
Co-authored-by: sangshuduo's avatarShuduo Sang <sangshuduo@gmail.com>
Co-authored-by: Nzhaoyanggh <yzhao@taosdata.com>
上级 0240e125
......@@ -136,6 +136,15 @@ if [ -n "${taostools_bin_files}" ]; then
echo -e "install-taostools.sh not found"
fi
if [ -f ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh ]; then
cp ${top_dir}/src/kit/taos-tools/packaging/tools/uninstall-taostools.sh \
${taostools_install_dir}/ > /dev/null \
&& chmod a+x ${taostools_install_dir}/uninstall-taostools.sh \
|| echo -e "failed to copy uninstall-taostools.sh"
else
echo -e "uninstall-taostools.sh not found"
fi
if [ -f ${build_dir}/lib/libavro.so.23.0.0 ]; then
mkdir -p ${taostools_install_dir}/avro/{lib,lib/pkgconfig} || echo -e "failed to create ${taostools_install_dir}/avro"
cp ${build_dir}/lib/libavro.* ${taostools_install_dir}/avro/lib
......
Subproject commit da842b77f438e5b4c496918e51f8ea02ba0f2c99
Subproject commit 02e4e085f3f2ccc9b4a29d865ed2bf8c76d2cada
......@@ -38,8 +38,6 @@ class TDTestCase:
tdSql.execute("use newtest")
tdSql.query("select count(*) from newtest.meters")
tdSql.checkData(0, 0, 20)
tdSql.query("select distinct(c0) from newtest.meters")
tdSql.checkRows(7)
tdSql.query("describe meters")
tdSql.checkRows(8)
tdSql.checkData(0, 1, "TIMESTAMP")
......@@ -67,8 +65,6 @@ class TDTestCase:
tdSql.checkData(0, 0, 2)
tdSql.query("select count(*) from test.meters")
tdSql.checkData(0, 0, 20)
tdSql.query("select distinct(c0) from test.meters")
tdSql.checkRows(7)
cmd = "taosBenchmark -n 3 -t 3 -B 2 -i 1 -G -y -T 1 2>&1 | grep sleep | wc -l"
sleepTimes = subprocess.check_output(cmd, shell=True).decode("utf-8")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册