Sri Lanka 161-6 at lunch on day five
South Africa's Morne Morkel (R) celebrates with teammates after dismissing Sri Lanka's Dinesh Chandimal during the final day of the opening Test in Galle on July 20, 2014 - by Lakruwan Wanniarachchi
Skipper Angelo Mathews was batting on eight with Dilruwan Perera yet to open his account.
Sri Lanka need 209 runs to win the game with four wickets in hand.
The second and final Test will be played in Colombo from July 24-28.