Still I don't think that Pakistan's victory is confirmed. They have 5 wickets in hand, and Sri Lankan bowlers apart from Prabath Jayasuriya are not troubling the Pak batsmen. Anyway, the match will be decided within one hour after lunch. I expect Mohammad Nawaz and Yasir Shah (if needed) to bat sensibly and provide strike to Shafique. And the most important thing for Shafique to do will be to play in his own natural style. They need to remember that it is the Lankans who are desperate and not the Pakistanis.
Finally, Pakistan won this test match but if you see comments from the experts here, all of them were not sure if Pakistan would win even though the target was so close. It means that no one trusts the Pakistan team batting as it can collapse at any unexpected moment.

Anyways it was a very good game of cricket where in the first innings both teams struggled but as the match progressed, the pitch also got better.
Abdullah Shafique played a significant role in the win of Pakistan in this match. It was not clear to me whether Pakistan was going to win this match or not. However, Pakistan proved they are a superior team, and despite their away conditions, they are not to be underestimated. Babar Azam also performed really well in this match. He has played well. Both in the first and second innings. And the pitch did get better, but not that much to be honest. This is going to be a huge boost for Pakistan because they beat Sri Lanka who was coming off a win against Australia.