Fix 01610_client_spawn_editor

quotes are superfluous, and after shell wrapper had been removed it had
been broken:

    24484 execve("/src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\"", ["/src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\"", "clickhouse_replxx_GWyu5Y.sql"], 0x7fffffffcf90 /* 100 vars */) = -1 ENOENT (No such file or directory)
    24484 write(1, "Cannot execute /src/ch/clickhouse/tests/queries/0_stateless\"/01610_client_spawn_editor_open.editor\": errno: 2, strerror: No such file or directory\n", 147) = 147
    24484 exit_group(-1)                    = ?
This commit is contained in:
Azat Khuzhin 2021-11-16 23:38:09 +03:00
parent b7030720b6
commit e26d755b9b

View File

@ -7,7 +7,7 @@ match_max 100000
if ![info exists env(CLICKHOUSE_PORT_TCP)] {set env(CLICKHOUSE_PORT_TCP) 9000}
set env(EDITOR) [file dirname [file normalize [info script]]]"/01610_client_spawn_editor_open.editor"
set env(EDITOR) [file dirname [file normalize [info script]]]/01610_client_spawn_editor_open.editor
spawn clickhouse-client --disable_suggestion
expect ":) "