Index: lib/dfsan/scripts/check_custom_wrappers.sh =================================================================== --- lib/dfsan/scripts/check_custom_wrappers.sh +++ lib/dfsan/scripts/check_custom_wrappers.sh @@ -32,7 +32,7 @@ grep -E __dfsw_ ${DFSAN_CUSTOM_WRAPPERS} \ | sed "s/.*__dfsw_\([^(]*\).*/\1/" | sort > $DIFF_A -grep -E "^\\s*test_.*\(\);" ${DFSAN_CUSTOM_TESTS} \ +grep -E "^[[:space:]]*test_.*\(\);" ${DFSAN_CUSTOM_TESTS} \ | sed "s/.*test_\(.*\)();/\1/" | sort > $DIFF_B diff -u $DIFF_A $DIFF_B > ${DIFFOUT} if [ $? -ne 0 ]