Skip to content

testSocket (tests.fd_remote.RemoteFDTests) fails on Darwin #10

@fmoo

Description

@fmoo

Looks like the mode bits aren't set correctly on sockinfo.psi.soi_stat ?

======================================================================
FAIL: testSocket (tests.fd_remote.RemoteFDTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/ruibalp/src/python-filedes/tests/fd_remote.py", line 21, in testSocket
    self.checkSubprocessFDs([FD(s.fileno())])
  File "/Users/ruibalp/src/python-filedes/tests/fd_remote.py", line 70, in checkSubprocessFDs
    self.assertEquals(FD(int(fd), p.pid).mode, fd.mode)
AssertionError: 0 != 49590

----------------------------------------------------------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions