The hosts held a slim 48-run lead with Kane Williamson and BJ Watling at the crease.
Dimuth Karunaratne and Kaushal Silva safely guided their side to 84 without loss in their second innings.
Hashim Amla says the Proteas team is looking ahead after another ball-tampering fine.
The ‘Slinga’ will lead the Sri Lankan team until March 2015.
The proteas crumbled at the end in their 166 run chase against Sri Lanka in a T20 match in Bangladesh.
SA's Hashim Amla is on the shortlist for ICC Cricketer of the Year & Test Cricketer of the Year.