~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/lib/sys_mgmt/port_management.py

  • Committer: Lee Bieber
  • Date: 2011-01-30 22:14:18 UTC
  • mfrom: (2124.2.11 dbqp_work)
  • Revision ID: kalebral@gmail.com-20110130221418-3g5gmlrllccq4eeb
Merge Patrick - fix bug 709861: dbqp not running on mac osx
Merge Patrick - fix bug 709879: dbqp needs --start-and-exit option

Show diffs side-by-side

added added

removed removed

Lines of Context:
127
127
                    good_data = 0
128
128
                    pass
129
129
                else:
130
 
                    if self.system_manager.cur_os == 'FreeBSD':
 
130
                    if self.system_manager.cur_os in [ 'FreeBSD' 
 
131
                                                     , 'Darwin' 
 
132
                                                     ]:
131
133
                        used_port = int(entry.split()[3].split('.')[-1].strip())
132
134
                    else:
133
135
                        used_port = int(entry.split()[3].split(':')[-1].strip())