Alex Neil’s side opened the scoring on the stroke of half-time when Jack Clarke was fouled in the penalty area and Ross Stewart converted the subsequent spot kick.
The hosts drew level just after the hour mark when Bailey Wright conceded a penalty and Sean McConville sent Anthony Patterson the wrong way, before substitute Kodede Adedoyin made it 2-1.
The Black Cats have one more friendly ahead of their Championship opener against Coventry next weekend, with the team set to travel to Hartlepool on Monday.
Here’s how our chief Sunderland writer Phil Smith rated each Black Cats player at the Wham Stadium:

5. Dennis Cirkin - 8
Barely put a foot wrong in a really impressive performance. Drove into some dangerous areas and defensively strong. Looks in great order ahead of the new campaign. 8 Photo: Frank Reid

6. Corry Evans - 6
Typically composed and used the ball well when Sunderland got on top after a poor opening. 6 Photo: Frank Reid

7. Dan Neil - 6
Bright through the first half, carrying the ball well and just not quite able to find the final ball for a team-mate. Struggled to impose himself on the second half. 6 Photo: Frank Reid

8. Patrick Roberts - 7
Showed flashes of real quality, not least with the excellent crossfield pass that led to the penalty. Quieter in the second half as Sunderland drifted. 7 Photo: Frank Reid

