mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
11 lines
229 B
Plaintext
Executable File
11 lines
229 B
Plaintext
Executable File
#!/usr/bin/expect
|
|
|
|
set timeout 3600
|
|
set query [lindex $argv 0]
|
|
|
|
spawn mclient -u monetdb -d test;
|
|
expect "password:"; send "monetdb\r";
|
|
expect "sql>"; send "\\t clock\r";
|
|
expect "sql>"; send "$query;\r";
|
|
expect "sql>"; send "\4"
|