]> git.saurik.com Git - redis.git/blobdiff - tests/integration/redis-cli.tcl
Add a newline to tty output after every reply
[redis.git] / tests / integration / redis-cli.tcl
index c4954304016bc75cf9688be72b7c8ca4706913d8..4f180dafbc385b47d2ca295c6b87669757c04632 100644 (file)
@@ -36,9 +36,11 @@ start_server {tags {"cli"}} {
     }
 
     proc test_interactive_cli {name code} {
+        set ::env(FAKETTY) 1
         set fd [open_cli]
         test "Interactive CLI: $name" $code
         close_cli $fd
+        unset ::env(FAKETTY)
     }
 
     proc run_nontty_cli {args} {