Bafana Bafana sealed a spot in the Africa Cup of Nations last 16 while Tunisia crashed out after the sides played to a goalless draw in the final Group E match in Korhogo.
Namibia secured their maiden qualification to the Africa Cup of Nations Round of 16 with a goalless draw against Mali.
Algeria crashed out of the Africa Cup of Nations as Mohamed Dellahi's first-half goal proved enough to earn Mauritania a shock first-ever 1-0 win in the tournament and a ticket to the last 16.
Senegal qualified for the Africa Cup of Nations knockout rounds as Group C winners with a perfect record following their 2-0 victory over Guinea on Tuesday.
Cameroon came from behind to beat Gambia 3-2 in their final Africa Cup of Nations Group C clash, and secure their place in the last 16.
Rigobert Song is unfazed about his future as Cameroon boss ahead of their crucial 2023 Africa Cup of Nations clash against the Gambia.