An unbeaten century stand between Saud Shakeel and Agha Salman rescued Pakistan from a precarious 101 for five on the second day of the rain-hit opening Test on Monday.
In response to Sri Lanka’s 312, Pakistan reached 221 for five when rain stopped play, with the tourist still 91 runs behind.
Sri Lanka’s left-arm spinner Prabath Jayasuriya took three wickets, including skipper Babar Azam.
Sri Lanka batter Dhananjaya de Silva had earlier made 122 to hand the host a respectable total.
Pakistan faltered in its reply before Shakeel, on 69, and Salman, on 61, put on 120 runs to steady the innings and thwart the Sri Lankan spinners.
The left-and-right-hand batting combination of Shakeel and Salman mixed the right dose of caution and aggression, with 12 fours and a six between them.
The pair showed maturity in tackling the spinners by using their feet to get to the pitch of the ball, with Pakistan scoring at nearly five runs an over.
Sri Lanka had come out roaring when pace bowler Kasun Rajitha got Imam-ul-Haq out for one, and Jayasuriya sent back Abdullah Shafique for 19.
The left-handed Shan Masood hit back as he smashed 39 off 30 balls but fell lbw to Ramesh Mendis, who was denied the wicket by the on-field umpire before Sri Lanka successfully reviewed.
Azam fell when he got an inside edge onto his pads, and the ball looped to short leg, taken by wicketkeeper Sadeera Samarawickrama.
De Silva, earlier, moved from his overnight 94 to register his 10th Test ton in his 50th match to bolster Sri Lanka’s position from a shaky 54 for four on Sunday.
Pace spearhead Shaheen Afridi, fellow quick Naseem Shah, and leg-spinner Abrar Ahmed ended on three wickets each to bowl out Sri Lanka, and lunch was called.
The second day’s play began early with revised timings for each of the three sessions, and de Silva soon got to his hundred off Shaheen.
De Silva, who smashed 12 fours and three sixes, got useful runs with the lower order before he finally fell to Naseem, who struck twice after Pakistan took the second new ball.
- FIH Hockey Olympic Qualifiers: Indian women’s team to face New Zealand, USA and Italy in Pool B
- How Afghanistan’s rapid ascent in 2023 ODI World Cup came to be: A behind-the-scenes look
- James Hillier: Realistic target for Paris 2024 is to get as many athletes into the final as possible
- The drama of Maxwell’s 201: Prevents hat-trick, survives LBW scare, dropped chance on way to one of ODI World Cup’s greatest centuries
- UEFA Champions League 2023: Sparkling Rafeael Leao hailed by Milan coach Pioli