Show More
@@ -456,8 +456,6 b' class Test(object):' | |||
|
456 | 456 | except Exception, e: |
|
457 | 457 | return self.fail('Exception during execution: %s' % e, 255) |
|
458 | 458 | |
|
459 | killdaemons(env['DAEMON_PIDS']) | |
|
460 | ||
|
461 | 459 | def describe(ret): |
|
462 | 460 | if ret < 0: |
|
463 | 461 | return 'killed by signal: %d' % -ret |
@@ -522,6 +520,10 b' class Test(object):' | |||
|
522 | 520 | |
|
523 | 521 | def tearDown(self): |
|
524 | 522 | """Tasks to perform after run().""" |
|
523 | for entry in self._daemonpids: | |
|
524 | killdaemons(entry) | |
|
525 | self._daemonpids = [] | |
|
526 | ||
|
525 | 527 | if not self._options.keep_tmpdir: |
|
526 | 528 | shutil.rmtree(self._testtmp) |
|
527 | 529 |
General Comments 0
You need to be logged in to leave comments.
Login now