| Server IP : 3.111.61.48 / Your IP : 216.73.216.67 Web Server : Apache System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.2.31 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.10/test/__pycache__/ |
Upload File : |
o
�9j� � @ s� d Z ddlZddlZddlZddlZddlmZ ddlmZ e� ed� e� ed� G dd� de�Z
d d
� Zedkr@e�
� dS dS )z/This test checks for correct wait4() behavior.
� N)�ForkWait)�support�fork�wait4c @ s e Zd Zdd� ZdS )� Wait4Testc C s� t j}tj�d�rd}t�� tj }t�� |kr1t � ||�\}}}||kr&nt�
d� t�� |ks| �||� | �t �|�|� | �
|� d S )N�aixr g�������?)�os�WNOHANG�sys�platform�
startswith�time� monotonicr �
SHORT_TIMEOUTr �sleep�assertEqual�waitstatus_to_exitcode�
assertTrue)�self�cpid�exitcode�option�deadline�spid�status�rusage� r �&/usr/lib/python3.10/test/test_wait4.py� wait_impl s
�zWait4Test.wait_implN)�__name__�
__module__�__qualname__r r r r r r s r c C s t �� d S )N)r �
reap_childrenr r r r �tearDownModule# s r# �__main__)�__doc__r r
r
�unittest�test.fork_waitr �testr �
get_attributer r# r �mainr r r r �<module> s �