South Africa's Tristan Stubbs, left, jumps onto teammate Marco Jansen for taking the winning wicket following the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

Sri Lanka's Asitha Fernando, right, with teammate Lahiru Kumara leave the field following the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's players celebrate the dismissal Sri Lanka's Prabath Jayasuriya, right, for 9 runs during the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's Kagiso Rabada, centre, celebrates with his teammates after dismissing Sri Lanka's captain Dhananjaya de Silva, left, for 50 runs during the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's Kyle Verreynne, left, celebrates the dismissal of Sri Lanka's Kusal Mendis, right, for 46 runs during the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's Kyle Verreynne, center, congratulates teammate South Africa's Keshav Maharaj for dismissing Sri Lanka's Kusal Mendis for 46 runs during the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

Sri Lanka's Kusal Mendis, right, plays a shot as South Africa's Kyle Verreynne watches on during the fifth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's captain Temba Bavuma, centre, and his teammates react after the dismissal of Sri Lanka's Kamindu Mendis for 35 runs during the fourth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

Sri Lanka's Kamindu Mendis strikes a four during the fourth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.

South Africa's Dane Paterson, second from right, celebrates with his teammates after dismissing Sri Lanka's Dinesh Chandimal 29 runs during the fourth day of the second Test cricket match between South Africa and Sri Lanka, at St George's Park in Gqeberha, South Africa.