Cape Town - The Proteas set Sri Lanka a massive 488 for victory on day four of the first Test at St. George's Park on Thursday.
At lunch, Sri Lanka were 27/0 after getting through a tricky session unscathed.
The Proteas had started the day with a lead of 432 as Faf du Plessis and Quinton de Kock picked up where they left off on Wednesday.
They batted for a little less than an hour before De Kock was out lbw for 69 to spinner Rangana Herath.
Du Plessis, 67* at the other, called for the declaration immediately after.
But the visitors got through to lunch in one piece, batting for 14 overs as openers Dimuth Karunaratne (10*) and Kaushal Silva (14*) saw out the first session.