-í
É<c       sĒ   d  Z  d k Z d k Z d k Z d k Z d k l Z l Z d k Te i	 d j o e d   n d e i
 f d     YZ d   Z e d	 j o e   n d S(
   s0   
   Tests for commands module
   Nick Mathewson
N(   s   TestSkippeds   run_unittest(   s   *s   posixs!   Not posix; skipping test_commandss   CommandTestsc      s   d   Z  d   Z RS(   Nc    sb   |  i t d  d  |  i t d  d d f  t d t i    \ } } |  i | d  d  S(   Ns
   echo xyzzys   xyzzyi    s   cat (	   s   selfs   assertEqualss	   getoutputs   getstatusoutputs   tempfiles   mktemps   statuss   outputs   assertNotEquals(   s   selfs   statuss   output(    (    s2   /usr/local/twc/lib/python2.2/test/test_commands.pys   test_getoutput s    c    s/   d } |  i t i | t d  t i   d  S(   Nss  [l-]..x..x..x # It is executable. (May be a symlink.)
                  \s+\d+       # It has some number of links.
                  \s+\w+\s+\w+ # It has a user and group, which may
                               #     be named anything.
                  [^/]*        # Skip the date.
                  /bin/ls      # and end with the name of the file.
               s   /bin/ls(   s   pats   selfs   assert_s   res   matchs	   getstatuss   VERBOSE(   s   selfs   pat(    (    s2   /usr/local/twc/lib/python2.2/test/test_commands.pys   test_getstatus  s    (   s   test_getoutputs   test_getstatus(    (    (    s2   /usr/local/twc/lib/python2.2/test/test_commands.pys   CommandTests s    		c      s   t  t  d  S(   N(   s   run_unittests   CommandTests(    (    (    s2   /usr/local/twc/lib/python2.2/test/test_commands.pys	   test_main. s    s   __main__(   s   __doc__s   unittests   oss   tempfiles   res   test_supports   TestSkippeds   run_unittests   commandss   names   TestCases   CommandTestss	   test_mains   __name__(   s   res   TestSkippeds	   test_mains   run_unittests   tempfiles   unittests   oss   CommandTests(    (    s2   /usr/local/twc/lib/python2.2/test/test_commands.pys   ? s   		