Pakistan 'A' and the South Africans drew their tour game in Sharjah, after which Pakistan added Shan Masood, Ahmed Shehzad and Asad Shafiq to their Test squad.
On the final day, Pakistan 'A' reached 311 for six in their 100 overs before declaring, and South Africa used the remainder of the day to give their middle and lower-order batsmen time at the crease.
There were useful runs for Faf du Plessis (42) before they closed on 109 for three in their second innings.
Shafiq made a fluent 42 in 92 balls when Pakistan 'A' batted to impress the selectors enough to include him while captain Umar Amin fell for 12.
Sohaib Maqsood and Mohammad Rizwan were unbeaten on 34 and 31 respectively when Pakistan declared having faced 100 overs.
South Africa then opened with JP Duminy and du Plessis, Duminy making 23 and Robin Peterson, in at number three, falling for 16.
Vernon Philander (11) and Morne Morkel (16) were not out when stumps were drawn.
The first Test begins in Abu Dhabi on 14th October.
Pakistan Test squad: Misbah-ul-Haq (captain), Abdur Rehman, Adnan Akmal (wicket-keeper), Ahmed Shehzad, Asad Shafiq, Azhar Ali, Junaid Khan, Khurram Manzoor, Mohammad Irfan, Rahat Ali, Shan Masood, Umar Amin, Younus Khan, Zulfiqar Babar
© Cricket World 2013