The difference appears to be some sort of bash colorization escape codes in your 'bug-loc.right' file. I have bash colors disabled on my system.
5.0-1.1.2 test fail