A maiden ton from George Bailey and another inspired bowling stint from Mitchell Starc helped Australia beat the West Indies by 54 runs in Perth.
South Africa thrashed Australia by 309 runs in the third Test to hold on to their number one Test ranking and ruin a farewell for Ricky Ponting.
Australia will have to produce the greatest run chase in Test history to beat South Africa in the third Test at the WACA Ground.
Australia's Ricky Ponting has announced this week's clash with South Africa will be his last, bringing an end to a remarkable 17-year Test career.
South African coach Heyneke Meyer says his team are underdogs as they bid to end a losing streak against Australia on Saturday.