Sri Lanka reached 110-1 chasing a target of 370 at stumps on day four of the first Test against South Africa in Galle.
South Africa seized control of the first Test at Galle as Dale Steyn blew away the Sri Lankia middle order.
JP Duminy hit an unbeaten century as South Africa racked up 455-9 declared on day two at Galle.
Sri Lanka are determined to give Mahela Jayawardene a triumphant farewell as he winds down his Test career this summer.