The hosts of the 2015 Africa Cup of Nations, Morocco, easily beat visiting Libya in a friendly on Sunday in Marrakech.
Younes Belhanda opened the scoring from the penalty spot just before half-time for Badou Zaki's side.
Marseille's Abdelaziz Barrada doubled the lead 10 minutes after the break and Raja Casablanca's Mouhssinne Iajour sealed the win in the 88th minute.
The Atlas Lions were held to a goalless draw by Qatar last Wednesday.
Libya were knocked out of qualifying for next January's Nations Cup finals by Rwanda in the first round.