“Good luck” in Chinese is 好运 (hǎoyùn).
祝考试好运!
Good luck on the exam!
Example sentence from Tatoeba (CC BY 2.0).