Angola secured the draw they needed to reach the quarter-finals of the African Nations Championship (CHAN) as their final Group D game against Congo-Brazzaville ended goalless.
The stalemate also suited the Congolese who finished top of the group ahead of Angola at the tournament for locally-based players only.
Burkina Faso ended their campaign with a 1-1 draw against Cameroon.
Congo will face Libya in the quarter-finals while Angola will play Nigeria.
Congo managed just two shots on goal with none of them on target while Angola did manage one effort on goal from their seven as both sides earned the draw that suited them.
Angola knew a draw would be enough for them to advance while for Burkina Faso to progress they had to beat Cameroon and hope the Angolans lost to have any chance.
Burkina Faso took the lead just before half-time when Wend-Panga Bambara's cross was parried on the ground by the Cameroon keeper Derick Fru Anye leaving Mohamed Sydney Sylla with the simplest of tasks to tap home.
Cameroon, coached by former Liverpool defender Rigobert Song, were desperate for their first goal and point of the tournament having lost their opening two games 1-0 with both goals from the penalty spot.
Their goal came from the same right-hand flank on 52 minutes as Bille Ngoundo crossed to find Patrick Moukoko at the far post to steer the ball home. Quarter-finals:
Saturday:
Morocco v Namibia (16:30 GMT in Casablanca)
Zambia v Sudan (19:30 GMT in Marrakech)
Sunday:
Nigeria v Angola (16:30 GMT in Tangier)
Congo v Libya (19:30 GMT in Agadir)


Ukraine launches fresh drone attack on St. Petersburg region on final day of ‘Ru...
US Ebola facility in Kenya fuels anger in a country with no cases
Ghana considering legal action against South Africa over xenophobic attacks — Ab...
There's no acrimony between Agric and Finance Ministers — Dafeamekpor
Finance and Agric Ministries clash could create COVID-like effect — Bryan Acheam...
Allow people to do their things in their rooms — Senyo Hosi on anti-LGBTQ bill
Disregard news of ministerial reshuffle — NDC urges Ghanaians
Awutu Senya East NDC Branch elections face uncertainty amid register controversy
Flooding is now a festival in Ghana, we have it every year – Kamal-Deen Abdulai
Mother, son arrested over alleged murder of husband at Nsawam-Adoagyiri
