mς %U²Ic@s’dZdkZdkZdkZdkZdklZlZdkTei djoedƒ‚ndei fd„ƒYZ d„Z e d jo e ƒndS( s0 Tests for commands module Nick Mathewson N(s TestSkippeds run_unittest(t*tposixs!Not posix; skipping test_commandst CommandTestscBstZd„Zd„ZRS(NcCs£|itdƒdƒ|itdƒdƒd}zKtiƒ}ti i |dƒ}td|ƒ\}}|i|dƒWd|dj oti|ƒnXdS(Ns echo xyzzytxyzzyitfooscat (iR(tselft assertEqualst getoutputtgetstatusoutputtNonetdirttempfiletmkdtemptostpathtjointnametstatustoutputtassertNotEqualstrmdir(RRRRR ((t//data/zmath/lib/python2.4/test/test_commands.pyttest_getoutputs  cCs/d}|iti|tdƒtiƒƒdS(Ns)d......... # It is a directory. \+? # It may have ACLs. \s+\d+ # It has some number of links. [^/]* # Skip user, group, size, and date. /\. # and end with the name of the file. s/.(tpatRtassert_tretmatcht getstatustVERBOSE(RR((Rttest_getstatus)s(t__name__t __module__RR(((RRs cCsttƒdS(N(t run_unittestR(((Rt test_main;st__main__(t__doc__tunittestR R Rttest.test_supportt TestSkippedR tcommandsRtTestCaseRR!R(R&R R$RR!R R R((Rt?s &