mirror of
https://github.com/dolthub/dolt.git
synced 2026-03-15 02:52:55 -05:00
* save version with defaultConfig in session -- todo remove and make PersistedSession * add PersistedSession, and DoltSession interface to switch * fmt * fixup test for persistedSession * PersistedSession progress, interfaces and enginetests * All DsessFromSess references fixed * delete unnuecessary lines * Comments for dolt session * Dolt session tests * save bats progress * formatting * GMS version * Bump GMS version * add license header * fix multi-db errors * try copyright again * make test deterministic * higher connection timeout default * sever config ordering * PR fixes * PR fixes * config rewrite progress * server config refactor * PR cleanup * delete lines * add go tests, refactor persistent global initialization * PR fixes * delete more lines * small PR cleanup * try to fix data race * better constructor names * zach don't like --server flag * edge cases around disabling replication * missed line in merge * Skip two tests i fixed in follow-on PR * merge two config prs * fix nondeterministic bats * zach's comments * bump bats sql-shell expect timeout * GMS and integrator race to access system vars; need to decide whether to force integrator to initialize, or make GMS init private; leaving in GMS for now
40 lines
780 B
Plaintext
40 lines
780 B
Plaintext
#!/usr/bin/expect
|
|
|
|
set timeout 2
|
|
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; }
|
|
}
|
|
expect {
|
|
"mydb> " { send "show tables ;\r"; }
|
|
timeout { exit 1; }
|
|
failed { exit 1; }
|
|
}
|