Compare realpaths for cwd test

This commit is contained in:
Kovid Goyal 2022-06-06 20:46:49 +05:30
parent 4c9a75c1ba
commit bf6c90a69a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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'])