Pakistan 482 (Hafeez 126, Sohail 110, Siddle 3-58, Lyon 2-114) and 181 for 6 dec (Imam 48, Shafiq 41, Holland 3-83, Lyon 2-58) drew with Australia 202 (Khawaja 85, Finch 62, Bilal 6-36, Abbas 4-29) and 362 for 8 (Khawaja 141, Head 72, Paine 61*, Yasir 4-114, Abbas 3-56)

Never mind the last over. This was never meant to go to the last session, with Pakistan having left 140 overs for themselves to bowl Australia out. But Australia, spearheaded by a superhuman effort from Usman Khawaja, who batted for 302 balls, and captain Tim Paine at the end, kept Pakistan out, ensuring a draw that simply wasn't an option for much of this match. It required Nathan Lyon batting with his captain for the last 11 overs, when it looked like the visitors would succumb after Khawaja had been dismissed, but Paine and Lyon rallied. As Pakistan prowled, Paine dug deep.

The records might be meaningless to an Australian side playing to salvage their reputations after the disaster of Cape Town a few months ago. After that, Paine said he wanted to captain an Australia side the fans could be proud of. It's taken no more than one Test match to achieve that, with Australia summoning all their powers of grit and fortitude to ensure that they would make the opposition earn a win over their dead bodies. As it was, Australia remained alive, just, and Pakistan, having dominated for such large periods in the match, had nothing to show for it.

But there were records made and records broken along the way. This was the second-highest fourth-innings score by a visiting team in Asia in history. Khawaja, who scored 141, surpassed the record for the highest-ever fourth-innings score by an individual batsman, going past Younis Khan's 131 in 2010. Australia played one ball short of 140 overs, longer than they've ever batted in the fourth innings of a Test. All that work to ensure the series remained 0-0. How's that for fighting spirit?

It really wasn't meant to be so difficult for Pakistan, who needed just seven wickets today to complete what looked like a routine win. But Khawaja and Travis Head carried on from where they had left off yesterday, batting 49 overs together and keeping Pakistan wicketless all morning to begin raising hopes, however faint, that a draw was possible.

Draws between these two sides don't come too often; the last one was 20 years and 20 Test matches ago. Pakistan looked like they were on their way again after Mohammad Hafeez - who in hindsight was perhaps a little underused - trapped Head in front two overs after lunch.

Marnus Labuschagne never appeared set against the spinners, as Yasir began to look more potent than did at any point all match. He finally got his first wicket as the debutant went back to a delivery that went straight on, and was trapped plumb in front of middle.