Index: build/unittest.sh =================================================================== diff -u -rca759c7dde22e1d28c51c3fe979ac25640fbd218 -r338da2157c4e30c85aca828710c8838b0806dacc --- build/unittest.sh (.../unittest.sh) (revision ca759c7dde22e1d28c51c3fe979ac25640fbd218) +++ build/unittest.sh (.../unittest.sh) (revision 338da2157c4e30c85aca828710c8838b0806dacc) @@ -304,6 +304,8 @@ cd data # Check for ERROR or FATAL in the results-v1.js file. # NOTE: ERROR or FATAL must be all upper case, it is case sensitive + # -w is used to only search the exact word and not other words that contain + # ERROR or FATAL local unitTestCoverage=$(cat results-v1.js | grep -w "ERROR\|FATAL") # If there are any errors, Check for the word PASS