South Africa managed to hold off the Australian bowling attack to draw the third and final Test at the Sydney Cricket Ground on Sunday.