1
0
Fork 0

Merging upstream version 1.9.4.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-02-09 17:04:04 +01:00
parent 7ac9951505
commit db5ed8b1cc
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
131 changed files with 3811 additions and 826 deletions

View file

@ -9,3 +9,13 @@ def test_running_disable_shell_pipeline():
cli.sendline("get foo | grep w")
cli.expect(r"hello")
cli.close()
def test_running_disable_shell_pipeline_with_decode_option():
cli = pexpect.spawn("iredis -n 15 --decode=utf-8", timeout=2)
cli.expect("127.0.0.1")
cli.sendline("set foo hello")
cli.expect("OK")
cli.sendline("get foo | cat")
cli.expect(r"hello")
cli.close()