Earnshaw scores his 14th Wales goal with the opener against Estonia
Wales' youngest side in history secured a morale-boosting friendly win before the World Cup qualifier in Azerbaijan by beating Estonia in Llanelli.
Rob Earnshaw's 26th-minute penalty proved enough, confidently converted after a harsh handball decision against Estonia captain Alo Barengrub.
Earnshaw then wasted a great chance before half time by dragging his shot wide from Aaron Ramsey's accurate pass.
Captain Joe Ledley and Gareth Bale saw long-range shots saved after the break.
The victory ended a run of three consecutive defeats in 2009 as Wales found the net for the first time this year.
Estonia, ranked 113 in the Fifa world rankings, offered little to worry the Wales defence as the home side looked comfortable in possession on a perfect surface at Parc y Scarlets.
The only slight worry ahead of the trip to Baku on 6 June was a lack of urgency at times and the continuing tendency not to make the most of scoring opportunities.
With the hosts missing the experience of Craig Bellamy, Simon Davies, James Collins and Jason Koumas, manager John Toshack had little option but to put his faith in youth.
With an average age of 21, seven of the starters still qualify for the Under-21s, with Earnshaw the oldest at 28 and earning his 44th cap.
Cardiff midfielder Ledley, 22, captained the side for the first time, and the ninth to take the armband during Toshack's five-year reign.
Ledley's cross after eight minutes created the first scoring opportunity, but Earnshaw, claiming to have been impeded, failed to make contact with the ball at the far post.
An even better chance quickly followed after Ramsey's superb reverse pass gave Chris Gunter a clear sight of goal.
Wing-back Gunter, though, failed to match Ramsey's composure as his left-foot effort flew high and wide.
Bale was the next to make inroads down the left wing, and striker Sam Vokes was caught slightly on his heels as the Spurs wing-back fired a dangerous low cross across the face of the goal.
Wales needed a goal to make their superiority count, and that arrived on 26 minutes thanks to a large slice of luck.
Estonia captain Barengrub threw his body on the line to block Ledley's shot, but referee Magnus Thorisson stunned most in the ground by awarding a penalty for handball.
Wales had missed their last three attempts from the spot, but Earnshaw was coolness personified as he sent the goalkeeper the wrong way by slotting the ball into the bottom left corner.
That goal, his first for 17 months, took him above Toshack in Wales' all-time goalscorers list with 14 goals.
The Nottingham Forest striker should have doubled the lead just before the break, but he dragged his shot wide after being sent clear by Ramsey, who pulled the Wales strings throughout.
Estonia were certainly out-classed in midfield, but they twice delivered dangerous crosses into the Wales box which Alo Dupikov wasted with weak headers.
Simon Church came on to make his debut on 60 minutes, but the Reading striker collected a yellow card moments later when he played on after the referee's whistle.
Swansea's Joe Allen and Leicester's Andy King also came on in the final stages to win their first caps as the game meandered towards a lacklustre finale.
Wales did force two saves from Estonia keeper Artur Kotenko before the end, as Ledley attempted a cute chip and Bale fired a powerful long-range effort.
Bookmark with:
What are these?