Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Changeset 992

Show
Ignore:
Timestamp:
03/02/06 12:11:52
Author:
fumanchu
Message:

Benchmark: fix for no ab in bash.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/cherrypy/test/benchmark.py

    r990 r992  
    6161        output.startswith("'%s' is not recognized" % cmd) 
    6262        # bash 
    63         or re.match(r"bash: .*: No such file", output) 
     63        or re.match(r"bash: .*: (No such file|command not found)", output) 
    6464        ): 
    6565        raise IOError('%s must be on your system path.' % cmd) 
     
    160160                val = val.group(1) 
    161161                setattr(self, attr, val) 
     162            else: 
     163                setattr(self, attr, None) 
    162164 
    163165 

Hosted by WebFaction

Log in as guest/cpguest to create tickets