Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 18.191.174.125
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : test_macos.pyo
�
?��cc@s�ddlZddlmZddlZddlZejd�ZejdZdej	fd��YZ
d�Zedkr�e�ndS(	i����N(ttest_supporttMacOSt2t	TestMacOScBs_eZejejjd�d�d��Zejejjd�d�d��Zd�Z	RS(s/Developer/Tools/SetFiles'/Developer/Tools/SetFile does not existcCs�z�ttjd�}|jd�|j�tjdddddtjg�tjtj�\}}|j	|d�|j	|d�Wdt
jtj�XdS(Ntws
s/Developer/Tools/SetFiles-ttABCDs-ctEFGH(topenRtTESTFNtwritetcloset
subprocesstcallRtGetCreatorAndTypetassertEqualtostunlink(tselftfptcrttp((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyttestGetCreatorAndTypes


s/Developer/Tools/GetFileInfos+/Developer/Tools/GetFileInfo does not existcCsSz;ttjd�}|jd�|j�tjtjdd�tjtj�\}}|j|d�|j|d�t	j
dtjgdt	j�j�d}d}d}xf|j�D]X}|jd�r�|j�d	d
d	!}n|jd�r�|j�d	d
d	!}q�q�W|j|d�|j|d�Wdtjtj�XdS(NRs
RRs/Developer/Tools/GetFileInfotstdoutistype:i����iscreator:(RRRR	R
RtSetCreatorAndTypeR
RRtPopentPIPEtcommunicatetNonet
splitlinest
startswithtsplitRR(RRRRtdatatln((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyttestSetCreatorAndTypes*


cCsz�ttjd�}|jd�|j�tjtjd�}|jd�|j�ttjd�}|j�}|j�|j|d�tjtjd�}|jd�}|jd�}|j�|j|d�|j|d�Wdt	j
tj�XdS(	NRshello world
s*wbsgoodbye world
trs*rbidt(RRRR	R
RtopenrftreadRRR(RRtrfpRtdata2((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyt
testOpenRF?s$





(
t__name__t
__module__tunittestt
skipUnlessRtpathtexistsRR!R((((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyR
s
 cCstjt�dS(N(Rtrun_unittestR(((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyt	test_mainZst__main__(
R+ttestRRRt
import_moduleRRtTESTFN2tTestCaseRR0R)(((s6/usr/local/python-2.7/lib/python2.7/test/test_macos.pyt<module>s
P	
© 2025 GrazzMean