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 T. Fidjeu 61'
for Doualla 82'
for Javier Balboa 86'
for Juvenal 89'
|Jara ban reduced on appeal by one match|
|Hiddink leaves Netherlands post|
|Cresswell pens new five-year deal at West Ham|
|Koeman: No serious United bid for Schneiderlin|
|Barbados eliminated from World Cup qualifying after fielding ineligible player|
|Former Catania president admits buying matches|
|Jones agrees Manchester United deal|
|Argentina v Paraguay: Valdez hoping not to need another comeback|
|Milan seal Bertolacci signing|
|Cech grateful to Abramovich and Chelsea fans|
|UEFA Champions League Preview: Brotherly pride at stake as B36 play TNS|
|UEFA Europa League Preview: Tommasi set to aid La Fiorita qualifying bid|
|Cech leaves Chelsea to join Arsenal|
|Paulinho ends Spurs frustration with Guangzhou move|
|Sampdoria confirm Eto´o exit amid Antalyaspor talk|
|Garcia departs Espanyol ahead of expected Qatar move|
|Watford to delay Doyley decision|
|Schlupp agrees new Leicester deal|
|Schweinsteiger hints at Bayern stay amid United links|
|Bertolacci thrilled ahead of Milan move|
|Langerak leaves Dortmund for Stuttgart|
|Muniain extends Athletic contract|
|Youngsters to get chance on US tour - Van Gaal|
|La Liga chief hits out at Real Madrid over TV rights opposition|
|Villa confirm Wilkins as assistant manager|
|Dicks joins West Ham coaching staff|
|Heldt enters to jeers, exits to cheers|
|Paraguay pride has grown at Copa America - Aguilar|
|Van Gaal tight-lipped on De Gea|
|Bacca confirms Milan agreement|
|Weight of expectation on hosts Chile to benefit Peru - Gareca|
|MLS Review: Timbers thump Sounders thanks to Adi´s double|
|Dzeko ´would run to Roma´ - Pjanic|
|Peru won´t sit back - Sampaoli|
|Zenga: Cassano, Balotelli will not be joining Sampdoria|
|Victory to start A-League defence away to Adelaide|
|I want to play MLS ´at the peak of my career´ - Johannsson|
|Allegri: I like Isco and Oscar|
|CAF Champions League Review: Comeback kings Smouha go top of Group A|
|Pirlo in attendance for New York derby|
|No Bayern deal yet, states Costa|
|Jara handed three-game ban|
|Sunderland striker Defoe sets 20-goal target|
|Leicester offer condolences to Albrighton and family after Tunisia attack|
|Chile v Peru: Potential Jara sanction hangs over semi-final|
|Sweden U21 v Portugal U21: History beckons for Jorge´s men|
|Neville appointed Valencia number two|
|Work halted at Olympic Stadium after fatality|
|Ibrahimovic in the same league as Messi - Sacchi|
|Giggs: United want to add winners|
|Turan sets record straight over transfer talk|
|Low keen for new Germany leaders to emerge|
|Tunisia part company with Leekens|
|Evans: Sterling´s Anfield exit must be a done deal|
|FIFA audit chief urges Blatter to stick by decision|
|Hrubesch urges caution after Germany U21s humbled|
|Taarabt hits out at ´very bad manager´ Redknapp|
|Bruce: I´m lucky I wasn´t sacked after Hull relegation|
|Van Hooijdonk warns Van Gaal over Depay tactics|
|SPFL looking into winter break|
|MLS Review: Earthquakes win California Clasico, Vancouver claim top spot in West|
|Muto must toughen up to succeed at Mainz - Ficcadenti|
|Diaz: Paraguay refuse to lose|
|Tragedy strikes for Paraguay match-winner Gonzalez|
|Robinho rues substitution, wanted to take penalty|
|Dunga: Brazil squad hit by virus|
|Fiorentina make ´insane offer´ to Salah|
|Women´s World Cup Review: England reach maiden semi-final|
|Mexico 2 Costa Rica 2: Herrera´s men recover after half-time|
|ES Setif 1 USM Alger 2: African champions beaten|
|Paraguay 1 Brazil 1 (4-3 on penalties): History repeats as Dunga´s men bow out|