make it able to run parallel_tests in ubuntu using bash
Merge pull request #3076 from dmitry/parallel_tests_bash_fix

Make it able to run parallel_tests in ubuntu using bash