Sydney - Australia's Wallabies scraped home over the Barbarians on Saturday but their 31-28 win came at a cost with injury concerns ahead of next week's northern hemisphere tour.
Former skipper Stephen Moore scored the match-clinching try for the second-string Wallabies seven minutes from time to save Michael Cheika's blushes in the coaching battle against Barbarians boss Alan Jones.
Moore's try came against an under-manned Barbarians, who were left without star backs Taqele Naiyaravoro and Quade Cooper after both were sin-binned for late indiscretions.
The Wallabies finished five-tries-to-four winners, but Cheika was left with injury concerns ahead of his selection of a touring squad for the four-Test tour to the northern hemisphere starting next week.
Key men Jack Dempsey (leg) and Lukhan Tui (hamstring) both limped off with injuries.
Cheika is set to name his tour squad on Sunday and rested most of his star players for the Barbarians match ahead of next weekend's Test against Japan in Tokyo en route to the United Kingdom.
The BaaBaas led 21-12 at half-time playing a razzle-dazzle brand of rugby.
Naiyaravoro (two), Andrew Ready and Tom Banks were the Barbarians' try-scorers.
Duncan Paia'aua (two), Henry Speight, Dempsey and Moore crossed for a Wallabies team featuring just two starters from the side that conquered the All Blacks 23-18 in Brisbane last week.
The Wallabies ran in three second-half tries to take home the spoils against the invitational side, playing in Sydney for the first time since 2009.
Captain Cooper and winger Naiyaravoro both received yellow cards inside the final ten minutes after the Barbarians had taken a 28-24 lead on a Naiyaravoro try which was set up by a Cooper cross-field kick in the 67th minute.
After Cooper was sin-binned for a high tackle on Israel Folau, the Wallabies capitalised on their two-man advantage when Moore barged over from a rolling maul to score the match-winner with seven minutes left to play.
It was close to a triumph for Jones, the former coach of the Wallabies in the 1980s and nowadays a prominent radio broadcaster.
Tries: Duncan Paia'aua (2), Henry Speight, Jack Dempsey, Stephen Moore
Conversions: Paia'aua (3)
Tries: Taqele Naiyaravoro (2), Andrew Ready, Tom Banks
Conversions: Quade Cooper (4)
15 Karmichael Hunt, 14 Henry Speight, 13 Samu Kerevi, 12 Billy Meakes, 11 Israel Folau, 10 Duncan Paia'aua, 9 Nick Phipps (captain), 8 Lopeti Timani, 7 Jack Dempsey, 6 Ned Hanigan, 5 Lukhan Tui, 4 Rory Arnold, 3 Allan Alaalatoa, 2 Jordan Uelese, 1 Tom Robertson
Substitutes: 16 Stephen Moore, 17 Tetera Faulkner, 18 Jermaine Ainsley, 19 Kane Douglas, 20 Ben McCalman, 21 Joe Powell, 22 Curtis Rona, 23 Izaia Perese
15 Tim Nanai-Williams (Chiefs & Samoa), 14 Taqele Naiyaravoro (Waratahs & Australia), 13 Tom Banks (Brumbies), 12 George Moala (Blues & New Zealand), 11 Eto Nabuli (Reds & Australia), 10 Quade Cooper (Reds & Australia, captain), 9 Augustine Pulu (Blues & New Zealand), 8 Wycliff Palu (Toyota Verblitz & Australia), 7 Matt Hodgson (Force & Australia, vice-captain), 6 Isi Naisarani (Force), 5 Sam Carter (Brumbies & Australia), 4 Luke Jones (Bordeaux Begles & Australia), 3 Taniela Tupou (Reds), 2 Andrew Ready (Reds), 1 Pekahou Cowan (Force & Australia)
Substitutes: 16 Anaru Rangi (Force), 17 Ben Alexander (Brumbies & Australia), 18 Salesi Manu (Bond), 19 Matt Philip (Force), 20 Kane Koteka (Force), 21 Theo Strang (Sydney University), 22 Sam Greene (Toyota Verblitz), 23 Andrew Kellaway (Waratahs)