Shamrock Rovers face a tricky test in their quest to land their first FAI Cup since 1987 as they have been drawn against Cork City in the in the quarter-finals of the FAI Cup.

The draw for the last-eight of the Cup took place on RTE Radio 1’s Morning Ireland and the meeting of Rovers and Cork is the tie of the round as the league’s third and fourth-placed teams meet for a place in the semi-finals.

Holders Dundalk will face an away trip to 1984 Cup champions UCD in the quarter-finals, provided they get past non-league side Crumlin United on Tuesday night at Oriel Park.

Cup champions from 2014, St Patrick’s Athletic, have been handed a home tie with Cobh Ramblers, while Wexford Youths take on 2012 winners Derry City.

FAI Cup quarter-final draw

UCD v Crumlin United/Dundalk

Shamrock Rovers v Cork City

St Patrick’s Athletic v Cobh Ramblers

Wexford Youths v Derry City

Quarter-final games will take place on the week ending 11 September