Sindbad~EG File Manager

Current Path : /usr/local/lib/python3.11/test/__pycache__/
Upload File :
Current File : //usr/local/lib/python3.11/test/__pycache__/test_wait4.cpython-311.pyc

�

SԚg�����dZddlZddlZddlZddlmZddlmZejsej	d���ej
ed��Gd�de��Zd	�Ze
d
krej��dSdS)z/This test checks for correct wait4() behavior.
�N)�ForkWait)�supportzrequires working os.fork()�wait4c��eZdZd�ZdS)�	Wait4Testc��tj}tj�d��rd}tjt
jd���D]#}tj||��\}}}||krn�$|�	||��|�	tj
|��|��|�|��dS)N�aixrF)�error)�os�WNOHANG�sys�platform�
startswithr�sleeping_retry�
SHORT_TIMEOUTr�assertEqual�waitstatus_to_exitcode�
assertTrue)�self�cpid�exitcode�option�_�spid�status�rusages        �,/usr/local/lib/python3.11/test/test_wait4.py�	wait_implzWait4Test.wait_impls�������<�"�"�5�)�)�	��F��'��(=�U�K�K�K�	�	�A�$&�8�D�&�#9�#9� �D�&�&��t�|�|��������t�$�$�$�����2�6�:�:�H�E�E�E����������N)�__name__�
__module__�__qualname__r�rrrrs#������ � � � � rrc�,�tj��dS)N)r�
reap_childrenr#rr�tearDownModuler&"s��������r�__main__)�__doc__rr
�unittest�test.fork_waitr�testr�has_fork_support�SkipTest�
get_attributerr&r �mainr#rr�<module>r0s�����
�	�	�	�
�
�
�
�����#�#�#�#�#�#���������:�
�(�
�8�
9�
9�9����b�'�"�"�"� � � � � �� � � �"����z����H�M�O�O�O�O�O��r

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists