test_csharp.sh 651 字节
Newer Older
D
dingbo 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
#!/bin/bash

set -e

pgrep taosd || taosd >> /dev/null 2>&1 &
pgrep taosadapter || taosadapter >> /dev/null 2>&1 &
cd ../../docs-examples/csharp

dotnet run --project connect.csproj

taos -s "drop database if exists power"
dotnet run --project sqlinsert.csproj
dotnet run --project query.csproj
dotnet run --project asyncquery.csproj

taos -s "drop database if exists power"
dotnet run --project stmtinsert.csproj

taos -s "drop database if exists test"
dotnet run --project influxdbline.csproj

taos -s "drop database if exists test"
dotnet run --project optstelnet.csproj

taos -s "drop database if exists test"
dotnet run --project optsjson.csproj