A goal three minutes from time by Adil Rami saw France win from 2-0 down against Iceland in Valenciennes on Sunday.
Iceland, ranked 115 places behind their hosts at 131, shocked Les Bleus by taking a two-goal lead through Birkir Bjarnason and Kolbeinn Sigthorsson.
Laurent Blanc's side reduced the arrears through Mathieu Debuchy seven minutes after the break but they had to wait until the 85th minute to equalise through Franck Ribery before Rami's late strike won it - 3-2 the final score.
On Saturday, Germany's preparations for Euro 2012 suffered a jolt as they were beaten 5-3 by Switzerland in Basel.
Eren Derdiyok struck a hat-trick as the Swiss grabbed a first win over their cross-border rivals, who were without their Bayern Munich stars, for the first time in 56 years.
Derdiyok shocked Germany with a double on 21 and 23 minutes and while Mats Hummels pulled a goal back on half-time the Swiss striker completed his hat-trick on 50 minutes.
Germany twice pulled goals back again, through Andre Schurrle (64) and Marco Reus (72) but on each occasion the Swiss had a reply thanks to Stephan Lichtsteiner (67) and Admir Mehmedi (77).
Joachim Low was without eight Bayern players, rested after they reached last weekend's Champions League final, but the Germany boss still fielded a strong line-up including Per Mertesacker, Lukas Podolski and Miroslav Klose.
Holland suffered a surprise 2-1 defeat to Bulgaria in Amsterdam after a last-minute winner from substitute Illiyan Mitsanski.
Robin van Persie, who was partnered by Klaas Jan Huntelaar up front in a near full-strength Oranje team, opened the scoring after 45 minutes.
But Ivelin Popov equalised with a 50th-minute penalty, after Rafael van der Vaart handled in the area, before Mitsanski won it.
World and European champions Spain eased to a 2-0 win over Serbia following second-half goals from Adrian Lopez and Santi Cazorla in Saint Gallen.
A makeshift Spain needed the inspiration of substitute Adrian, who headed in Jesus Navas' teasing cross on 64 minutes, before he was brought down by Branislav Ivanovic for Cazorla's penalty soon after.
Euro 2012 co-hosts Poland grabbed a 1-0 win over Slovakia, Damien Perquis deciding the contest on 30 minutes.
Denmark were comfortably beaten 3-1 by Brazil with Hulk netting a double.
The damage was done before half-time with the Porto man on target either side of a Niki Zimling own goal. Nicklas Bendtner grabbed a consolation for the Danes on 71 minutes.
Cristiano Ronaldo was unable to inspire Portugal, before being subbed after 72 minutes, as they played out a goalless draw with Macedonia.
Czech Republic needed an injury-time winner from David Lafata to beat Israel 2-1. Veteran striker Milan Baros' 17th-minute penalty had been cancelled out by Itay Schecter on half-time.
There was also late drama as Greece drew 1-1 with Slovenia. Vasilis Torosidis' eighth-minute goal looked like it might be enough, but in a hectic ending Jasmin Kurtic levelled before Greece substitute Panagiotis Kone saw red.