diff options
| author | Dan Blackwell <dan_blackwell@apple.com> | 2025-10-29 10:36:47 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-29 10:36:47 +0000 |
| commit | 2ecb7489b5069cc576b880474489d39771ba976b (patch) | |
| tree | c1f38abbacdc1496a5dffcaee855b0cd2930fa8c | |
| parent | 6ab8e8fa031e0a22c0244c1aa8f54581ed9bffd1 (diff) | |
| download | llvm-2ecb7489b5069cc576b880474489d39771ba976b.zip llvm-2ecb7489b5069cc576b880474489d39771ba976b.tar.gz llvm-2ecb7489b5069cc576b880474489d39771ba976b.tar.bz2 | |
[TSan][Test-Only][Darwin] Fix typo in external.cpp test (#165534)
Occasionally this test fails in CI. There are two possible races that
can occur, one of which is rare. Both are supposed to be handled, but
because the test matches "read-only" and the runtime outputs "Read-only"
(note the capital letter), the FileCheck fails.
This patch fixes the miscapitalisation of the FileCheck string in the
test.
rdar://163398219
| -rw-r--r-- | compiler-rt/test/tsan/Darwin/external.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/tsan/Darwin/external.cpp b/compiler-rt/test/tsan/Darwin/external.cpp index 3869c7a..8372a1e 100644 --- a/compiler-rt/test/tsan/Darwin/external.cpp +++ b/compiler-rt/test/tsan/Darwin/external.cpp @@ -68,9 +68,9 @@ int main(int argc, char *argv[]) { // TEST2-NOT: WARNING: ThreadSanitizer // TEST3: WARNING: ThreadSanitizer: race on MyLibrary::MyObject - // TEST3: {{Modifying|read-only}} access of MyLibrary::MyObject at + // TEST3: {{Modifying|Read-only}} access of MyLibrary::MyObject at // TEST3: {{ObjectWrite|ObjectRead}} - // TEST3: Previous {{modifying|read-only}} access of MyLibrary::MyObject at + // TEST3: Previous {{modifying|Read-only}} access of MyLibrary::MyObject at // TEST3: {{ObjectWrite|ObjectRead}} // TEST3: Location is MyLibrary::MyObject of size 16 at // TEST3: {{ObjectCreate}} |
