mirror of
https://github.com/dolthub/dolt.git
synced 2026-04-24 11:39:03 -05:00
Bump GoMod and Trim the sql-use.expect (#2953)
This commit is contained in:
@@ -68,7 +68,7 @@ require (
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309003008-965b4f856f06
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309235313-1dcc0a71e177
|
||||
github.com/google/flatbuffers v2.0.5+incompatible
|
||||
github.com/gosuri/uilive v0.0.4
|
||||
github.com/kch42/buzhash v0.0.0-20160816060738-9bdec3dec7c6
|
||||
|
||||
@@ -170,8 +170,8 @@ github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZm
|
||||
github.com/dgryski/go-sip13 v0.0.0-20181026042036-e10d5fee7954/go.mod h1:vAd38F8PWV+bWy6jNmig1y/TA+kYO4g3RSRF0IAv0no=
|
||||
github.com/dolthub/fslock v0.0.3 h1:iLMpUIvJKMKm92+N1fmHVdxJP5NdyDK5bK7z7Ba2s2U=
|
||||
github.com/dolthub/fslock v0.0.3/go.mod h1:QWql+P17oAAMLnL4HGB5tiovtDuAjdDTPbuqx7bYfa0=
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309003008-965b4f856f06 h1:nbmgud1GQ32bTPXAVv7telC/lPQS9vrFgg9xV5rqWds=
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309003008-965b4f856f06/go.mod h1:5WoXPdkIrkNBjKH+Y1XMfwREEtPXOW/yN8QfulFpZ1s=
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309235313-1dcc0a71e177 h1:m7Xzwjv53gg7n4seeC/usYDZ4OY55Cm0a1z/SXWom3U=
|
||||
github.com/dolthub/go-mysql-server v0.11.1-0.20220309235313-1dcc0a71e177/go.mod h1:5WoXPdkIrkNBjKH+Y1XMfwREEtPXOW/yN8QfulFpZ1s=
|
||||
github.com/dolthub/ishell v0.0.0-20220112232610-14e753f0f371 h1:oyPHJlzumKta1vnOQqUnfdz+pk3EmnHS3Nd0cCT0I2g=
|
||||
github.com/dolthub/ishell v0.0.0-20220112232610-14e753f0f371/go.mod h1:dhGBqcCEfK5kuFmeO5+WOx3hqc1k3M29c1oS/R7N4ms=
|
||||
github.com/dolthub/jsonpath v0.0.0-20210609232853-d49537a30474 h1:xTrR+l5l+1Lfq0NvhiEsctylXinUMFhhsqaEcl414p8=
|
||||
|
||||
@@ -1,39 +1,41 @@
|
||||
#!/usr/bin/expect
|
||||
|
||||
set timeout 2
|
||||
set timeout 1000
|
||||
spawn dolt sql
|
||||
|
||||
expect {
|
||||
"doltsql> " { send "use `doltsql/test`;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
expect {
|
||||
"doltsql/test> " { send "show tables;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
expect {
|
||||
"doltsql/test> " { send "use information_schema;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
expect {
|
||||
"information_schema> " { send "show tables;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
expect {
|
||||
"information_schema> " { send "CREATE DATABASE mydb ;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
expect {
|
||||
"information_schema> " { send "use mydb ;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
}
|
||||
|
||||
# TODO: The failed keyword seems to be triggering the connection_control_failed_login_attempts info_schema table. Not clear why the output
|
||||
# of this table is comming all the way down to this command.
|
||||
expect {
|
||||
"mydb> " { send "show tables ;\r"; }
|
||||
timeout { exit 1; }
|
||||
failed { exit 1; }
|
||||
"mydb> " { send "exit ;\r"; }
|
||||
timeout { exit 1; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user