Issue 1671676: test_mailbox is hanging while doing gmake test on HP-UX v3 (original) (raw)

Hi ,

I am testing Python 2.5 on HP-UX 11iv3 using gmake test , while testing the test test_mailbox.py is hanging .

when tried to track the problem i came to know that in the function if pid == 0: # In the child, lock the mailbox. self._box.lock() time.sleep(2) self._box.unlock() os._exit(0)

    # In the parent, sleep a bit to give the child time to acquire
    # the lock.
    time.sleep(0.5)
    try:
        self.assertRaises(mailbox.ExternalClashError,
                          self._box.lock)
    finally:
        # Wait for child to exit.  Locking should now succeed.
        exited_pid, status = os.waitpid(pid, 0)

after forking the child , child is not returning status to the parent while its waiting for the return status.

which part of the Python functionality is checked.

Please assist me to solve this.

Thanks in advance , shashi