There's no way this Cairo test could ever have worked. It fails if checked out at the commit when it was introduced. The dependencies haven't changed the relevant code.
I'm regenerating the test image the hard-ass way and calling Fuck It.
@federicomena does Cairo have, like, maintainers? Can't you contract the person who added this test?
@bugaevc Cairo has a maintainer. The person who wrote the test has moved on to other things. The test is from like 10 years ago, anyway...