Reverting changes made on 5 places where zero argument raises were
changed to one argument raises. Thanks to John Admanski for having
pointed out the problem with the changes (calling out a new exception on
those cases would clear out the original traceback, making it less
useful for debugging).
Signed-off-by: Lucas Meneghel Rodrigues <lucasmr@br.ibm.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1175 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/sysbench/sysbench.py b/client/tests/sysbench/sysbench.py
index 334114b..f6651bd 100644
--- a/client/tests/sysbench/sysbench.py
+++ b/client/tests/sysbench/sysbench.py
@@ -98,7 +98,7 @@
profilers.report(self)
except:
system(self.sudo + bin + '/pg_ctl -D ' + data + ' stop')
- raise TestError('Unable to start postgreSQL')
+ raise
system(self.sudo + bin + '/pg_ctl -D ' + data + ' stop')
@@ -154,7 +154,7 @@
profilers.report(self)
except:
system(bin + '/mysqladmin shutdown')
- raise TestError('Unable to start mySQL')
+ raise
system(bin + '/mysqladmin shutdown')