diff --git a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp --- a/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp +++ b/compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp @@ -15,14 +15,14 @@ // [BEWARE: be really careful with the sed commands, as this test can be run // from different environments with different shells and seds] // -// RUN: grep -e "INTERFACE_FUNCTION" \ +// RUN: grep -e "^INTERFACE_FUNCTION" \ // RUN: %p/../../../../lib/asan/asan_interface.inc \ // RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \ // RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \ // RUN: %p/../../../../lib/sanitizer_common/sanitizer_coverage_interface.inc \ // RUN: | sed -e "s/.*(//" -e "s/).*//" > %t.imports1 // -// RUN: grep -e "INTERFACE_WEAK_FUNCTION" \ +// RUN: grep -e "^INTERFACE_WEAK_FUNCTION" \ // RUN: %p/../../../../lib/asan/asan_interface.inc \ // RUN: %p/../../../../lib/ubsan/ubsan_interface.inc \ // RUN: %p/../../../../lib/sanitizer_common/sanitizer_common_interface.inc \