tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
O\¬Qc@sÇdZddlZddlZddlZddlZddlmZmZmZm    Z    edde
ƒZ ej dkr‹ej dƒ‚ndejfd    „ƒYZd
„Zed krÃ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( t assertEqualRt    getoutputtgetstatusoutputtNonettempfiletmkdtemptostpathtjointassertNotEqualtrmdir(tselftdirtnametstatustoutput((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/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((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_commands.pyttest_getstatus,s (t__name__t
__module__RR"(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_commands.pyRs    cCsttƒtƒdS(N(RRR(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_commands.pyt    test_mainDs
t__main__(t__doc__tunittestRRRttest.test_supportRRRRtTrueRRtSkipTesttTestCaseRR%R#(((sZ/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/test/test_commands.pyt<module>s $",