mirror of
https://github.com/dolthub/dolt.git
synced 2026-01-05 16:15:41 -06:00
25 lines
406 B
Plaintext
Executable File
25 lines
406 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 5
|
|
set env(NO_COLOR) 1
|
|
spawn dolt sql
|
|
|
|
expect {
|
|
-re "dolt-repo-.*> " { send "select 1/0;\r"; }
|
|
timeout { exit 1; }
|
|
failed { exit 1; }
|
|
}
|
|
|
|
expect {
|
|
-re "dolt-repo-.*> " { send "show warnings;\r"; }
|
|
timeout { exit 1; }
|
|
failed { exit 1; }
|
|
}
|
|
|
|
expect {
|
|
-re "dolt-repo-.*> " { send "exit;\r"; }
|
|
timeout { exit 1; }
|
|
failed { exit 1; }
|
|
}
|
|
|
|
expect eof |