On Mon, Jan 30, 2023 at 11:31:56AM -0800, Steve Langasek wrote: > [...] > ====================================================================== > ERROR: test_ssh_shell_integration (kitty_tests.ssh.SSHKitten) > ---------------------------------------------------------------------- > Traceback (most recent call last): > File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/ssh.py", line 239, > in test_ssh_shell_integration > pty.wait_till(lambda: 'kitty=fruity' in pty.screen_contents()) > login_shell = 'bash' > num_lines = 2 > ok_login_shell = 'bash' > pty = <kitty_tests.PTY object at 0x7fd0c5712620> > self = <kitty_tests.ssh.SSHKitten testMethod=test_ssh_shell_integration> > sh = 'dash' > tdir = '/tmp/tmpct5s6c0x' > val = '' > File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/__init__.py", line > 297, in wait_till > raise TimeoutError(f'The condition was not met. Screen contents: \n > {repr(self.screen_contents())}') > end_time = 1963.133780143 > q = <function SSHKitten.test_ssh_shell_integration.<locals>.<lambda> at > 0x7fd0c33475b0> > self = <kitty_tests.PTY object at 0x7fd0c5712620> > TimeoutError: The condition was not met. Screen contents: > 'UNTAR_DONE\nbuildd@lcy02-amd64-004:~$ echo > "$TERM=fruity"\nunknown=fruity\nbuildd@lcy02-amd64-004:~$ ' > > [...] > > (https://launchpad.net/ubuntu/+source/kitty/0.26.5-2/+build/25419959) > > It appears this works in Debian but not in Ubuntu because Debian's builders > have an empty $TERM in the build environment, whereas Ubuntu has it set by > default to 'unknown' (as shown above).
This sounds like the issue I filed upstream[0]. I can cherry-pick the fix[1] Kovid made. [0]: https://github.com/kovidgoyal/kitty/issues/5852 [1]: https://github.com/kovidgoyal/kitty/commit/e2543e8968496223d760f403b9c683c484f02d2c Cheers, -- James GPG Key: 4096R/91BF BF4D 6956 BD5D F7B7 2D23 DFE6 91AE 331B A3DB
signature.asc
Description: PGP signature