mirror of
https://github.com/dolthub/dolt.git
synced 2026-05-02 19:39:56 -05:00
18 lines
318 B
Plaintext
Executable File
18 lines
318 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 1
|
|
spawn dolt sql
|
|
expect {
|
|
"doltsql> " { send "select json_unquote('\\\\');\r"; }
|
|
}
|
|
expect {
|
|
"error processing results: Missing a closing quotation mark in string"
|
|
}
|
|
expect {
|
|
"doltsql> " { send "select 1;\r"; }
|
|
}
|
|
expect {
|
|
"pid 0 is already in use" { exit 1 }
|
|
" 1 " { exit 0 }
|
|
}
|