[Olena-patches] 4278: tests/tools/pretty_check.sh: Correctly grep XFAIL and FAIL tests output.