Pakistan v South Africa, 2nd Test, Abu Dhabi, 3rd day

South Africa on top despite middle-order resistance