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_commands.pyc
�
N��ac@s�dZddlZddlZddlZddlZddlmZmZmZm	Z	edde
�Zejdkr�ej
d��ndejfd	��YZd
�Zedkr�e�ndS(s0
   Tests for commands module
   Nick Mathewson
i����N(trun_unittestt
reap_childrent
import_moduletcheck_warningstcommandst
deprecatedtposixs!Not posix; skipping test_commandstCommandTestscBseZd�Zd�ZRS(cCs�|jtjd�d�|jtjd�d�d}zNtj�}tjj	|d�}tjd|�\}}|j
|d�Wd|dk	r�tj|�nXdS(Ns
echo xyzzytxyzzyitfooscat (iR(tassertEqualRt	getoutputtgetstatusoutputtNonettempfiletmkdtemptostpathtjointassertNotEqualtrmdir(tselftdirtnametstatustoutput((s./usr/local/lib/python2.7/test/test_commands.pyttest_getoutputsc	CsKd}tdtf��-|jtj|tjd�tj��WdQXdS(Ns7d.........   # It is a directory.
                  [.+@]?       # It may have special attributes.
                  \s+\d+       # It has some number of links.
                  [^/]*        # Skip user, group, size, and date.
                  /\.          # and end with the name of the file.
               s$.*commands.getstatus.. is deprecateds/.(RtDeprecationWarningt
assertTruetretmatchRt	getstatustVERBOSE(Rtpat((s./usr/local/lib/python2.7/test/test_commands.pyttest_getstatus,s
(t__name__t
__module__RR"(((s./usr/local/lib/python2.7/test/test_commands.pyRs	cCstt�t�dS(N(RRR(((s./usr/local/lib/python2.7/test/test_commands.pyt	test_mainDs
t__main__(t__doc__tunittestRRRttest.test_supportRRRRtTrueRRtSkipTesttTestCaseRR%R#(((s./usr/local/lib/python2.7/test/test_commands.pyt<module>s$",