bash compatibility in test environment runner