South Korea’s military said its air forces and the army carried out a drill in response to North Korea’s nuclear test.