At tea on the second day, Bangladesh are 342 behind with nine wickets in hand
Tea Bangladesh 25 for 1 (Mahmudul 16*, Harmer 1-1) trail South Africa 367 (Bavuma 93, Elgar 67, Khaled 4-92, Mehidy 3-94) by 342 runs
They needed the late boost after losing four wickets for 53 runs within 15.5 overs in the morning session. It brought Bangladesh back into the contest after South Africa were slightly in front in the bragging rights after getting to 233 for 4 on the first day.
Harmer, playing his first Test in seven years, then took charge before Mahmudul caught Williams brilliantly at gully, while Olivier survived 12 overs before he played back to another of Mehidy’s ripping offbreaks, which had him lbw.
Mohammad Isam is ESPNcricinfo’s Bangladesh correspondent. @isam84