[PATCH PM-QA 05/18] thermal: Remove bashisms in thermal test module