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_macos.pyc
�
N��ac@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((s+/usr/local/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((s+/usr/local/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((s+/usr/local/lib/python2.7/test/test_macos.pyt
testOpenRF?s$





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