From bf6c90a69adb37b5bb40deac3fbeaffba7a7d435 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 6 Jun 2022 20:46:49 +0530 Subject: [PATCH] Compare realpaths for cwd test --- kitty_tests/prewarm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty_tests/prewarm.py b/kitty_tests/prewarm.py index 2a62f5895..880f0a2d9 100644 --- a/kitty_tests/prewarm.py +++ b/kitty_tests/prewarm.py @@ -43,6 +43,6 @@ class Prewarm(BaseTest): self.ae(data['cols'], cols) self.assertTrue(data['cterm']) self.ae(data['ttyname'], ttyname) - self.ae(data['cwd'], cwd) + self.ae(os.path.realpath(data['cwd']), os.path.realpath(cwd)) self.ae(data['env'], env['TEST_ENV_PASS']) self.ae(int(p.from_worker.readline()), data['pid'])