From 6405849a1b0c6a5cb5951099b538f0f72ec880d8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 29 May 2022 08:46:06 +0530 Subject: [PATCH] Bash integration clone test was accidentally running zsh Fixes #5144 --- kitty_tests/shell_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/shell_integration.py b/kitty_tests/shell_integration.py index ad639145c..561b818b9 100644 --- a/kitty_tests/shell_integration.py +++ b/kitty_tests/shell_integration.py @@ -358,7 +358,7 @@ PS1="{ps1}" run_test('bash -l .bashrc', 'profile', rc='echo ok;read', wait_string='ok', assert_not_in=True) run_test('bash -il -- .bashrc', 'profile', rc='echo ok;read', wait_string='ok') - with self.run_shell(rc=f'''PS1="{ps1}"\nexport ES=$'a\n `b` c\n$d' ''') as pty: + with self.run_shell(shell='bash', setup_env=partial(setup_env, set()), cmd='bash', rc=f'''PS1="{ps1}"\nexport ES=$'a\n `b` c\n$d' ''') as pty: pty.callbacks.clear() pty.send_cmd_to_child('clone-in-kitty') pty.wait_till(lambda: len(pty.callbacks.clone_cmds) == 1)