Only validate the spec fragment if the rendered output matches the
expected output, and the fragment is not marked as a bug.

https://bugs.corefiling.com/show_bug.cgi?id=40263