From 667d95f025bf193a59d2582dd09e3b1fd2261a2e Mon Sep 17 00:00:00 2001 From: Oran Agra Date: Tue, 3 Aug 2021 23:19:03 +0300 Subject: [PATCH] Skip new redis-cli ASK test in TLS mode (#9312) (cherry picked from commit 52df350fe59d73e6a1a4a5fb3c2b91d5c62f5a76) --- tests/integration/redis-cli.tcl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/integration/redis-cli.tcl b/tests/integration/redis-cli.tcl index 013f76ebf..3ac36c2dd 100644 --- a/tests/integration/redis-cli.tcl +++ b/tests/integration/redis-cli.tcl @@ -211,6 +211,7 @@ start_server {tags {"cli"}} { assert_equal "foo\nbar" [run_cli lrange list 0 -1] } +if {!$::tls} { ;# fake_redis_node doesn't support TLS test_nontty_cli "ASK redirect test" { # Set up two fake Redis nodes. set tclsh [info nameofexecutable] @@ -227,6 +228,7 @@ start_server {tags {"cli"}} { # Run the cli assert_equal "OK" [run_cli_host_port_db "127.0.0.1" $port1 0 -c SET foo bar] } +} test_nontty_cli "Quoted input arguments" { r set "\x00\x00" "value"