Both sides shook hands just 25 minutes into the final session, with Pakistan leading by 272 with two wickets still in hand