Santi Cazorla and Juanfran were on target as Spain laboured to a 2-1 friendly victory over Equatorial Guinea.
The world champions dominated the majority of the game in Malabo on Saturday but were wasteful in front of goal, with substitute Fernando Llorente particularly guilty.
Andoni Goikoetxea's charges briefly threatened a shock draw when Jimmy Bermudez cancelled out Arsenal midfielder Cazorla's opener, but Juanfran's winner spared Spain's blushes.
Spain produced the best openings of the first half and Jesus Navas' lob almost put the visitors ahead efore Cazorla capitalised on a mistake from Danilo.
Equatorial Guinea equalised through Bermudez's header, but the sides were level for just seven minutes as Juanfran thrashed home from close range.
Spain had several opportunities to increase the lead and Llorente thought he had added a third, only for Andres Iniesta to be ruled offside in the build-up.
Vicente del Bosque took the opportunity to rest several of his star players and handed a debut to Marc Bartra, while Ivan Bolado was given the role as Equatorial Guinea's lone striker.
The visitors dominated first-half possession and were nearly ahead as early as the seventh minute when Navas' inventive chip almost dipped over Danilo.
Spain were duly rewarded for their pressure six minutes later, when Danilo dropped a straight-forward cross from Juan Mata and Cazorla profiting from the gaffe as he tapped into the empty net.
Equatorial Guinea had their first sight of goal after 35 minutes when Rodolfo Bodipo met Javier Balboa's centre, but his strike was deflected over the crossbar.
And from the resulting corner the home fans were sent into delirium when Bermudez levelled by rising highest to head home Juvenal Edjogo's delivery.
However, their joy was short-lived as three minutes before the break Cazorla's cross deflected into the path of Juanfran and he rifled home from close range.
Llorente was introduced as a second-half substitute and will feel he could have done better after 54 minutes when he shot tamely at Danilo from Navas' cushioned header.
The Juventus striker did have the ball in the back of the net on the hour-mark when he tapped home Iniesta's centre, but the Barcelona midfielder was harshly adjudged to be offside in the build-up.
Spain's dominance continued and Llorente missed another clear opportunity with a weak back-post header from Navas' deft cross with 20 minutes remaining.
Several substitutions in the close stages stemmed the flow of the match, as Spain comfortably saw out the victory.
|Coach: Andoni Goikoetxea|
for Iván Bolado 46'
for Fidjeu 61'
for Doualla 82'
for Javier Balboa 86'
for Juvenal 89'
|No reason to question Sturridge - Klopp|
|Neville paying price for inexperience - Wenger|
|Kakuta signs on with Hebei Fortune in China|
|Mata must prove worth at number 10 - Van Gaal|
|Mascherano: I will not retire at Barcelona|
|I said sorry to Mourinho after Chelsea exit - Hazard|
|Suarez can score 50 goals this season - Carragher|
|Cole: I´m here to win trophies, not sit on the beach|
|Ighalo rejected Chinese fortune for Premier League dream|
|Tuchel inspired by Kerber as Dortmund hunt down Bayern|
|Liverpool chief warns fans: Be careful what you wish for|
|Malaga 3 Getafe 0: Debut goal for Atsu in routine victory|
|Brighton and Hove Albion 3 Brentford 0: Hughton´s side boost promotion hopes|
|Borussia Monchengladbach 5 Werder Bremen 1: Christensen double inspires emphatic win|
|Aguero lauds Vardy ahead of top-two clash|
|Levante v Barcelona: Guardiola record beckons in Luis Enrique´s 100th game in charge|
|Strootman scores on return to action|
|Barcelona respond to Mediapro allegations|
|Frosinone v Juventus: Cuadrado not thinking of Napoli test|
|Herrera fires warning to Guardiola ahead of Manchester City move|
|Chelsea v Manchester United: Hiddink unconcerned by Van Gaal rivalry|
|Granada v Real Madrid: El-Arabi backs revamped hosts to shock Zidane´s men|
|Chelsea won´t take risks with Pato - Hiddink|
|CAF backs Sheikh Salman in FIFA race|
|AFC Bournemouth v Arsenal: Wenger pleased with Afobe success|
|Van Gaal: Beating Chelsea will keep title hopes alive|
|AC Milan v Udinese: In-form Niang wary of distractions|
|Marseille v Paris Saint-Germain: Di Maria relishing Classique experience|
|Simeone shoulders blame for misfit Martinez|
|Welbeck closes on Arsenal comeback|
|Verona v Inter: Icardi out to silence critics|
|Leicester remind Pellegrini of his Villarreal|
|Veteran Weidenfeller extends Dortmund stay|
|Klopp laughs off Sturridge exit rumours|
|Impending Chelsea exit hasn´t affected Terry, claims Hiddink|
|Pellegrini: City did nothing behind my back over Guardiola|
|Fred´s doping ban extended worldwide by FIFA|
|Berahino won´t start against suitors Newcastle - Pulis|
|Guardiola identifies threat from ´intense´ Leverkusen|
|Reus gets green light for Dortmund return|
|Di Maria desperate to banish Manchester United memories|
|Wenger: China a major threat to the Premier League|
|Guardiola: I am like a woman, I can multi-task|
|Alex Teixeira: I wanted Premier League move|
|Adelaide United 2 Sydney FC 2: Cirio double not enough for hosts|
|Rosicky out for two to three months - Wenger|
|Wenger: Arsenal not obsessed with finishing ahead of Tottenham|
|Howe upbeat over Wilson, Gradel recoveries|
|Dani Alves opens up about Ronaldo feud|
|Ljajic wants permanent Inter move|
|Eriksson: Money too good to refuse in China|
|Alex Teixeira completes €50m Jiangsu Suning move|
|McClaren calls for help from injury-hit squad|
|Bilic: New stadium won´t make us world class|
|´Killer´ Aguero gives City edge - Hart|
|Michu: I would love Swansea return|
|Hodgson calls England squad meeting|
|MLS starts stadium site search for possible St. Louis expansion|
|Copa Libertadores Review: Santa Fe cruise in Bolivia|
|Ronaldinho: I would support Neymar if he wanted Madrid move|
|Real Betis confirm Damiao signing|
|Alves: I almost joined Madrid|
|Melbourne City sign Socceroo Wilkinson|
|I´d like to say: ´Yes we can´ - Ranieri channels Obama over title chances|
|New stadium means Spurs in ´very tough´ period - Pochettino|
|Rennes 0 Saint-Etienne 1: Sall good for Galtier´s men|
|Sevilla 4 Celta Vigo 0: Gameiro at the double after penalty failure|
|Shakhtar boss Lucescu: Teixeira set for China move|
|Depay could be the world´s best winger - Kanchelskis|
|United States v Canada: Klinsmann pursues dual goals|
|Tottenham v Watford: Title-chasing Spurs braced for Watford battle|
|Wilmots relaxed over De Bruyne´s Euro 2016 fitness|
|Atletico Madrid v Eibar: Gimenez confident of overcoming defensive headache|
|Filipe Luis has ban for Messi challenge reduced|
|Aston Villa v Norwich City: Garde and Neil demand victory in relegation scrap|
|Zidane adds former team-mate to backroom staff|
|Liverpool v Sunderland: Klopp demands smarter attack as injury comebacks continue|
|Caceres to undergo Achilles surgery|
|´They call me Blackenbauer´ - Monaco clarify Jemerson nickname|
|Hertha Berlin v Borussia Dortmund: Buoyant Brooks believes best is yet to come|
|Swansea City v Crystal Palace: ´Miserable´ Pardew wants end to dismal run|
|Neymar´s father claims Manchester United met buyout clause|
|Lazio punished following racist chants|
|Southampton v West Ham: Bilic wary of ´flying´ Austin|
|Bayer Leverkusen v Bayern Munich: Neuer ready for ´aggressive´ challenge|
|Wilshere: Difficult to stay positive|
|Stoke City v Everton: Imbula debut to boost depleted Potters|
|Manchester City v Leicester City: Ranieri aims to break the magic circle|
|Elber: Lewandowski should reject Real Madrid - and Higuain cannot replace him|
|Neuer denies Bayern rift amid Vidal paper row|
|Kane and Vardy as good as Aguero, says Pochettino|
|McArthur, Puncheon out for ´long period´|
|Patient Gotze plots ´clever´ comeback|
|Newcastle United v West Brom: McClaren demands reaction|
|Villa turn to former governor of the Bank of England|
|I´ll be taking my dog round to bite him - Shinnie plans unorthodox motivation|
|´Traumatic´ changeover hurt Benitez at Madrid - Capello|
|Alderweireld: No heroes at Tottenham|
|Suarez ´certain´ Neymar will stay at Barcelona|
|Barcelona cheers didn´t bother me - Cheryshev|
|Koulibaly lauds referee Irrati for halting Lazio-Napoli game|
|Forget Twitter and focus on football, Foster tells Berahino|
|Ibrahimovic hails PSG depth as champions make Ligue 1 history|
|Furious Canizares demands resignation and apology from Neville|
|Victory rule out Valeri for rest of season|
|Copa Libertadores Review: Puebla, Cesar Vallejo held at home|
|Forster quiet on Euro 2016 chances|
|Luis Enrique sympathises with Valencia plight|
|Afobe: I have nothing to prove against Arsenal|
|Mustafi apologises to Valencia fans for Camp Nou drubbing|
|Blanc demands more from PSG|
|Pioli: Racist fans just a minority|
|Serie A Review: Napoli win but Juve remain two points behind|
|Stuart Holden calls time on injury-marred career|
|Luis Enrique: Barcelona players should be celebrated|
|Suarez just happy to help the team after starring in Copa romp|
|We never doubted Icardi, says Inter´s sporting director|
|Watford boss Flores praises ´fighting´ Costa|
|Allegri delighted as disciplined Juventus prove title mettle|
|Under-fire Neville won´t resign after Camp Nou thrashing|
|McClaren: Newcastle new boys will take time to gel|
|Mihajlovic: Milan possession must have purpose|
|Hiddink accuses Watford players of provoking Costa|