Commit 85d5fd91 authored by Łukasz Nowak's avatar Łukasz Nowak Committed by Łukasz Nowak

_testSQLBench: Fix backward compatible apporach

It was incorrectly assuming style of passed information.
parent fb7b7a86
...@@ -46,7 +46,7 @@ class TestSQLBench(unittest.TestCase): ...@@ -46,7 +46,7 @@ class TestSQLBench(unittest.TestCase):
sqlbench_path = os.environ.get('SQLBENCH_PATH') sqlbench_path = os.environ.get('SQLBENCH_PATH')
if not sqlbench_path: if not sqlbench_path:
software_home = os.environ['OPENSSL_BINARY'].replace( software_home = os.environ['OPENSSL_BINARY'].replace(
"parts/openssl/bin/openssl", "") "/bin/openssl", "/software_release/")
sqlbench_path = software_home + '/parts/mariadb/sql-bench' sqlbench_path = software_home + '/parts/mariadb/sql-bench'
perl_command = software_home + "/parts/perl/bin/perl" perl_command = software_home + "/parts/perl/bin/perl"
else: else:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment