From 7f0ddd4791f77d92e0925360feec6b61eb24b1f4 Mon Sep 17 00:00:00 2001 From: Darioush Jalali Date: Wed, 28 Aug 2024 14:06:17 -0700 Subject: [PATCH] windows ci: remove cr before comparing to known_flakes.txt --- scripts/build_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build_test.sh b/scripts/build_test.sh index 2b59930c57..a7a0ab093e 100755 --- a/scripts/build_test.sh +++ b/scripts/build_test.sh @@ -45,7 +45,7 @@ do unexpected_failures=$( # First grep pattern corresponds to test failures, second pattern corresponds to test panics due to timeouts (grep "^--- FAIL" test.out | awk '{print $3}' || grep -E '^\s+Test.+ \(' test.out | awk '{print $1}') | - sort -u | comm -23 - ./scripts/known_flakes.txt + sed 's/^M$//' | sort -u | comm -23 - ./scripts/known_flakes.txt ) if [ -n "${unexpected_failures}" ]; then echo "Unexpected test failures: ${unexpected_failures}"