HEX
Server: Apache
System: FreeBSD www860.sakura.ne.jp 13.0-RELEASE-p14 FreeBSD 13.0-RELEASE-p14 #2: Mon Dec 9 13:54:55 JST 2024 root@www5301.sakura.ne.jp:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64
User: yoyo0427 (1306)
PHP: 8.3.8
Disabled: NONE
Upload Files
File: //usr/local/lib/python2.7/test/test_spwd.pyc
�
N��ac@s�ddlZddlZddlmZejd�Zejeed�o[ej�dkd�dej	fd��Y�Z
d	�Zed
kr�e�ndS(i����N(ttest_supporttspwdtgeteuidisroot privileges requiredtTestSpwdRootcBseZd�Zd�ZRS(cCsDtj�}|j|t�x!|D]}|j|tj�q#WdS(N(RtgetspalltassertIsInstancetlisttstruct_spwd(tselftentriestentry((s*/usr/local/lib/python2.7/test/test_spwd.pyt
test_getspalls
cCs�tj�}|s"|jd�n|dj}tj|�}|j|tj�|j|j|�|j|j|d�|j|jt	�|j|j|d�|j|j
t�|j|j
|d�|j|jt�|j|j|d�|j|j
t�|j|j
|d�|j|jt�|j|j|d�|j|jt�|j|j|d�|j|jt�|j|j|d	�|j|jt�|j|j|d
�|jt��}tjd�WdQX|jt	|j�d�|jttj�|jttjd�|jttj|d�tjr�yt|�}Wntk
rwq�X|jtj|�|�ndS(
Nsempty shadow password databaseiiiiiiiiisinvalid user names'getspnam(): name not found'(RRtskipTesttsp_namtgetspnamRRtassertEqualtsp_pwdtstrt	sp_lstchgtinttsp_mintsp_maxtsp_warntsp_inactt	sp_expiretsp_flagtassertRaisestKeyErrort	exceptiont	TypeErrorRthave_unicodetunicodetUnicodeDecodeError(RR	trandom_nameR
tcxtunicode_name((s*/usr/local/lib/python2.7/test/test_spwd.pyt
test_getspnamsH
	
(t__name__t
__module__RR$(((s*/usr/local/lib/python2.7/test/test_spwd.pyRs	cCstjt�dS(N(Rtrun_unittestR(((s*/usr/local/lib/python2.7/test/test_spwd.pyt	test_main:st__main__(
tostunittestttestRt
import_moduleRt
skipUnlessthasattrRtTestCaseRR(R%(((s*/usr/local/lib/python2.7/test/test_spwd.pyt<module>s$	0