From e87f68becd00b8c6ece84c943112d863b84df98b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 18 Nov 2026 20:17:58 +0530 Subject: [PATCH] skip test under qemu emulation --- kitty_tests/child.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kitty_tests/child.py b/kitty_tests/child.py index 52464d3cb..8498918e5 100644 --- a/kitty_tests/child.py +++ b/kitty_tests/child.py @@ -497,6 +497,10 @@ read -r _ c.pid = p.pid try: command_pid = int(self._read_line(p)) + if cmdline_of_pid(command_pid)[0] != command[0]: + # Under emulation, such as qemu-user via binfmt_misc, the + # cmdline of processes starts with the emulator + self.skipTest('Running under emulation') self._assert_root_pid_settles(c, command_pid) finally: self._stop_tree(p)