Pakistan, trailing by 111 runs on the first innings, were 1-27 in their second knock at stumps on the third day of the final Test against Sri Lanka in Pallekele on Tuesday.
Mohammad Hafeez was unbeaten on eight and Azhar Ali was on six. Taufeeq Umar was dismissed for four.
Sri Lanka were earlier all out for 337 with Thisara Perera making 75 and left-arm seamer Junaid Khan finishing with five wickets.
Sri Lanka lead the series 1-0, having won the first Test in Galle by 209 runs. The second Test in Colombo was drawn.