[Gnu-morello] [To be committed] Fix tests after rebase of 36b6002396d onto 8504495ada4