The winner of the third Test will finish the series top of the International Cricket Council's Test rankings
Third Test, Cape Town (day three of five)
South Africa 329 & 140-4: Ackerman 62; Starc 2-29
Australia 429: Inglis 102; Harmer 4-104
South Africa lead by 40 runs