-í
è¶<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   t  Z 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(    (    s(   /usr/lib/python2.2/test/test_commands.pys   test_getoutput s    c    s/   d } |  i t i | t d ƒ t i ƒ ƒ d  S(   Ns  d.........   # It is a directory.
                  \s+\d+       # It has some number of links.
                  \s+\w+\s+\w+ # It has a user and group, which may
                               #     be named anything.
                  \s+\d+       # It has a size.
                  [^/]*        # Skip the date.
                  /.           # and end with the name of the file.
               s   /.(   s   pats   selfs   assert_s   res   matchs	   getstatuss   VERBOSE(   s   selfs   pat(    (    s(   /usr/lib/python2.2/test/test_commands.pys   test_getstatus  s    	(   s   __name__s
   __module__s   test_getoutputs   test_getstatus(    (    (    s(   /usr/lib/python2.2/test/test_commands.pys   CommandTests s   		c      s   t  t ƒ d  S(   N(   s   run_unittests   CommandTests(    (    (    s(   /usr/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(    (    s(   /usr/lib/python2.2/test/test_commands.pys   ? s   		