mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
11 lines
229 B
Plaintext
11 lines
229 B
Plaintext
#!/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"
|