python (3.11.7)

(root)/
lib/
python3.11/
test/
__pycache__/
test_spwd.cpython-311.opt-2.pyc

eWddlZddlZddlmZddlZej5ejdeejdZ	dddn#1swxYwYej
eedoejdkdGddej
Zej
eedoejdkd	Gd
dej
ZedkrejdSdS)
N)
import_helperignorespwdgeteuidzroot privileges requiredceZdZdZdZdS)TestSpwdRootct}||t|D]"}||tj#dS)N)rgetspallassertIsInstanceliststruct_spwd)selfentriesentrys   B/BuggyBox/python/3.11.7/bootstrap/lib/python3.11/test/test_spwd.py
test_getspallzTestSpwdRoot.test_getspallsZ--//gt,,,	;	;E!!%)9::::	;	;c`t}|s|d|dj}t|}||tj||j|||j|d||j|j||j	t||j	|d||j	|j||jt||j|d||jt||j|d||jt||j|d||jt||j|d||jt||j|d||jt||j|d	||jt||j|d
|t*5}tddddn#1swxYwY|t|jd|t.tj|t.tjd|t.tj|d	t1j|}|t.tj|dS#t4$rYdSwxYw)
Nzempty shadow password databaserzinvalid user namez'getspnam(): name not found')rr
skipTestsp_nampgetspnamrr
assertEqualsp_namsp_pwdpstrsp_pwd	sp_lstchgintsp_minsp_maxsp_warnsp_inact	sp_expiresp_flagassertRaisesKeyError	exception	TypeErrorosfsencodeUnicodeEncodeError)rrrandom_namercx
bytes_names      r
test_getspnamzTestSpwdRoot.test_getspnams--//	<MM:;;;aj(

k**eT%5666444a111555emS111a111555eos333%(333elC000uQx000elC000uQx000emS111a111enc222q222eos333%(333emS111a111


x
(
(	/BMM-...	/	/	/	/	/	/	/	/	/	/	/	/	/	/	/R\**,JKKK)T]333)T]A666)T]KCCC	D[11J
i
CCCCC"			DD	s$L==MM#P
P-,P-N)__name__
__module____qualname__rr7rrrrs7;;;&D&D&D&D&Drrznon-root user requiredceZdZdZdS)TestSpwdNonRootcd}	|t5}t|ddddS#1swxYwYdS#t$r&}|d|d|Yd}~dSd}~wwxYw)Nbinzspwd entry z doesn't exist: )r-PermissionErrorrrr.r)rnamecmexcs    rtest_getspnam_exceptionz'TestSpwdNonRoot.test_getspnam_exceptionCs	K""?33
$r

d###
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$
$	K	K	KMMMtttSSIJJJJJJJJJ	Ks9AAAA

A
A
A
BA>>BN)r8r9r:rDr;rrr=r=?s(KKKKKrr=__main__)r1unittesttest.supportrwarningscatch_warningssimplefilterDeprecationWarning
import_moduler
skipUnlesshasattrrTestCaserr=r8mainr;rr<module>rQs				&&&&&&X//H($6777&=&v..D///////////////
WWR++A

0A/11.D.D.D.D.D8$.D.D11.DbWWR++A

0A-//KKKKKh'KK//KzHMOOOOOs"AAA