Current File : //opt/imh-python/lib/python2.7/test/test_commands.pyc
�
��Wc@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((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/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((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_commands.pyttest_getstatus,s
(t__name__t
__module__RR"(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_commands.pyRs	cCstt�t�dS(N(RRR(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_commands.pyt	test_mainDs
t__main__(t__doc__tunittestRRRttest.test_supportRRRRtTrueRRtSkipTesttTestCaseRR%R#(((sk/builddir/build/BUILDROOT/imh-python-2.7.12-1.el7.x86_64/opt/imh-python/lib/python2.7/test/test_commands.pyt<module>s$",