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'
|Bournemouth ´realistic´ over permanent deal for Wilshere|
|Guardiola warns against complacency|
|Allardyce and England part company after damning video|
|De Bruyne out for up to three weeks - Guardiola|
|Luis Enrique demands fast start at Gladbach|
|Ancelotti wary of Atletico threat|
|Al Ain 3 El Jaish 1: Caio capitalises on late error|
|Ter Stegen happy with solution to Bravo battle|
|Emery: PSG need time to gel|
|Hernandez: It was very difficult at Real Madrid|
|Derby stand down Pearson ahead of Cardiff match|
|Rodgers sympathises with ´poor guy´ Allardyce|
|Opponents are trying to get Ribery send off - Hoeness|
|Martino named Atlanta United head coach|
|Rodgers urges Celtic to have belief against City|
|Rodgers has made same impact as Guardiola - Brown|
|Benfica one of the best in Europe, warns Sarri|
|Menotti: Ronaldo never played in a team like Messi´s|
|Walcott happy to move on from Arsenal struggles|
|Champions League Matchday Two: Bayern hunt Atleti revenge|
|Coquelin facing three weeks out|
|Arsenal transfers beyond reproach, says Wenger|
|Schubert extends Gladbach contract|
|Lewandowski urges Bayern to learn from Atletico defeat|
|Griezmann feared Simeone to PSG was ´a done deal´|
|FA investigating Allardyce claims|
|Valencia keep Voro in charge for Atletico clash|
|One of Serie A´s all-time greats: The numbers behind Totti at 40|
|Toure brands FIFA ´complacent´ after racism taskforce closed|
|Emery expects Ronaldo to stay at Real Madrid|
|Tottenham not scared of Moscow trip - Alderweireld|
|Sessegnon signs with Montpellier|
|Rakitic delighted with form|
|Gameiro: I could have joined Barcelona|
|Stones talks up Celtic quality|
|Liverpool good enough to win title - Houllier|
|Klopp happy with Firmino in central role|
|Watford got bullied all over the pitch - Deeney|
|Nuno keen for Porto to end England misery|
|Legia boss Magiera set for whirlwind debut|
|´Terrific´ Burnley delight Dyche|
|Burnley 2 Watford 0: Landmark goals for Hendrick and Keane seal first win in four|
|Schmidt lauds hitman Hernandez|
|Klopp not banking on Liverpool winning title|
|Kroos plays down Ronaldo rage rumours|
|Confidence coursing through Copenhagen|
|Madrid form draws no concern for Zidane|
|Burki looking forward to ´dream´ Madrid clash|
|Juve and Higuain have work to do - Allegri|
|CSKA boss Slutski wary of Tottenham threat|
|Pochettino: Kane to return within three weeks|
|City youngster Diaz signs three-year deal|
|Aurier vows to ´continue working hard´ for PSG despite prison sentence|
|Tuchel expecting Ronaldo on top form|
|Ter Stegen eyes new Barcelona deal|
|Hazard: No excuse for Arsenal defeat|
|Cisse back in training with Auxerre|
|Hummels resumes training ahead of Atletico clash|
|Facing Barcelona´s MSN not a nightmare, insists Bravo|
|Thiago: Atletico defence best in the world|
|Alonso wants to end career at Bayern Munich|
|Ranieri went to Slimani for Porto advice|
|Draxler: Wolfsburg blocked my exit|
|Samoura defends abolishment of racism task force|
|Sampaoli backs Nasri for France recall|
|Gisdol ´twitching with joy´ at Hamburg presentation|
|Zanetti determined Inter will return to the top|
|Getafe sack Esnaider|
|Bartra happy with playing time at Dortmund|
|Aurier handed two-month prison sentence over police altercation|
|Klopp attributes Lallana´s fine form to hard work|
|Totti´s wife slams ´small man´ Spalletti|
|Guardiola has already done an amazing job at Manchester City - Alonso|
|Referees attacked by hooligans in Bosnia and Herzegovina|
|Griezmann: I am not the anti-Benzema|
|Sterling hails Guardiola´s role in goalscoring form|
|Champions League Matchday Two: Madrid look for first win in Dortmund|
|Smalling confident Rooney will bounce back|
|Vardy fears ´permanent stain against my name´ following casino incident|
|Brave Wilshere will reap rewards of loan move - Howe|
|MLS Review: Sounders surprise Galaxy, Kamara double sinks New England|
|Walcott a special case - Wenger|
|Guardiola striving for more after perfect 10|
|Chelsea risk another mid-table finish, admits Conte|
|Montella feels AC Milan lacked courage|
|Robben speaks out on injury fears|
|Fiorentina 0 AC Milan 0: Ilicic misses penalty on Montella´s return|
|Gisdol replaces Labbadia at Hamburg|
|Ibrahimovic threatened me over Pogba deal - Raiola|
|Balotelli could make Nice return against Krasnodar|
|Southampton deserved to win – Bilic|
|Podolski takes aim at Mourinho over Schweinsteiger treatment|
|Atletico midfielder Augusto suffers ACL injury|
|Sagna: More to Aguero than goals|
|Errors are urgent matter for Schalke - Weinzierl|
|Puel delighted with sublime Southampton second half|
|Simeone praises ´decisive´ Gameiro|
|Noble: West Ham can´t get any worse|
|Pjanic: I will play wherever Allegri needs me|
|West Ham 0 Southampton 3: Defensive woes pile pressure on Bilic|
|Kondogbia makes the same mistakes often – De Boer|
|Gray backed by Dyche after ban for abusive social media posts|
|Gabriel needs time to get used to Serie A - Ausilio|
|Atletico Madrid´s Gimenez and Augusto doubts for Bayern Munich clash|
|Atletico Madrid 1 Deportivo La Coruna 0: Griezmann downs 10-man Depor|
|Angry Spalletti slams Roma players´ attitude|
|Liverpool have unbelievable quality - Milner|
|Simeone´s son Giovanni scores first Serie A goal|
|Ivanovic: Chelsea let Conte down|
|Inter 1 Bologna 1: Battling Bologna end Inter streak|
|Guardiola: Top-four finish very tough for Man City|
|Rodgers expecting tough test against City and Aguero|
|Zamparini admits Balotelli interested Palermo|
|Former Swansea, Arsenal great Mel Charles dies|
|Asamoah, Rugani ruled out for up to seven weeks|
|Totti reaches 250 Serie A goals in Roma defeat|
|Alves makes LaLiga history as Valencia see off Leganes|
|Guardiola rues De Bruyne injury as Man City await scan|
|Las Palmas draw could prove costly, admits Morata|
|Gabriel explains choosing Inter over Juventus|
|Hamburg dismiss Labbadia|
|West Ham players expect Payet´s free-kick magic - Antonio|
|Man City must tell Guardiola to stop, says Toure´s agent|
|Hamsik thrilled to reach 100 Napoli goals|
|Zabaleta warns Man City over Celtic backlash|
|MLS Review: Red Bulls, Toronto into play-offs|
|´We were unlucky´ - Bale|
|Guardiola keen for Spurs test|
|Rodgers: I never fell out with Sterling|
|Wenger hails ´different´ Walcott|
|Mazzarri backs Deeney for England call-up|
|Mamelodi Sundowns and Zamalek reach CAF Champions League final|