Fixed bug where wrong log file was read to test whether pass ended
successful