diff --git a/tests/system-test/0-others/taosShell.py b/tests/system-test/0-others/taosShell.py index 079440935b054837502a7b0d8f94c169aa0c1933..9c8cd85b4654d19436496bc7adcdf81b761ab242 100644 --- a/tests/system-test/0-others/taosShell.py +++ b/tests/system-test/0-others/taosShell.py @@ -294,8 +294,8 @@ class TDTestCase: sql3 = "echo create table ntbf (ts timestamp, c binary(40)) >> " + sqlFile sql4 = "echo insert into ntbf values (\"2021-04-01 08:00:00.000\", \"test taos -f1\")(\"2021-04-01 08:00:01.000\", \"test taos -f2\") >> " + sqlFile else: - sql3 = "echo create table ntbf \(ts timestamp, c binary\(40\)\) >> " + sqlFile - sql4 = "echo insert into ntbf values \(\"2021-04-01 08:00:00.000\", \"test taos -f1\"\)\(\"2021-04-01 08:00:01.000\", \"test taos -f2\"\) >> " + sqlFile + sql3 = "echo 'create table ntbf (ts timestamp, c binary(40))' >> " + sqlFile + sql4 = "echo 'insert into ntbf values (\"2021-04-01 08:00:00.000\", \"test taos -f1\")(\"2021-04-01 08:00:01.000\", \"test taos -f2\")' >> " + sqlFile sql5 = "echo show databases >> " + sqlFile os.system(sql1) os.system(sql2) diff --git a/tests/system-test/0-others/taosShellError.py b/tests/system-test/0-others/taosShellError.py index 9f1e7d8693e5e4aac66ce0f9c7c88474a38bda74..6d247c5700192e723ef0efb4cc0608bb824fa929 100644 --- a/tests/system-test/0-others/taosShellError.py +++ b/tests/system-test/0-others/taosShellError.py @@ -222,8 +222,8 @@ class TDTestCase: sql3 = "echo create table ntbf (ts timestamp, c binary(40)) no this item >> " + sqlFile sql4 = "echo insert into ntbf values (\"2021-04-01 08:00:00.000\", \"test taos -f1\")(\"2021-04-01 08:00:01.000\", \"test taos -f2\") >> " + sqlFile else: - sql3 = "echo create table ntbf \(ts timestamp, c binary\(40\)\) no this item >> " + sqlFile - sql4 = "echo insert into ntbf values \(\"2021-04-01 08:00:00.000\", \"test taos -f1\"\)\(\"2021-04-01 08:00:01.000\", \"test taos -f2\"\) >> " + sqlFile + sql3 = "echo 'create table ntbf (ts timestamp, c binary(40)) no this item' >> " + sqlFile + sql4 = "echo 'insert into ntbf values (\"2021-04-01 08:00:00.000\", \"test taos -f1\")(\"2021-04-01 08:00:01.000\", \"test taos -f2\")' >> " + sqlFile sql5 = "echo show databases >> " + sqlFile os.system(sql1) os.system(sql2)