Yassine Chikhaoui scored a dramatic late winner to seal a 2-1 victory for Tunisia over Zambia in Africa Cup of Nations Group B.
Holders Nigeria failed to qualify for the 2015 Africa Cup of Nations after being held to a 2-2 draw by South Africa.
Ghana booked a place in the semi-finals of the African Nations Cup with a 2-0 victory over Cape Verde in Port Elizabeth.
Kwesi Appiah has warned Ghana about complacency when they face Cape Verde in the African Cup of Nations quarter-finals.
Minnows Cape Verde scored twice late on to stun Angola 2-1 and seal their spot in the African Nations Cup last eight.
Cape Verde coach Lucio Antunes has warned his side should not be underestimated ahead of their clash with Angola.