summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/lit_tests/mutexset7.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-12-06 15:42:54 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-12-06 15:42:54 +0000
commite3e0557f196a7b8862f091183c8f05acd1e48de2 (patch)
treef4d169b03c19b22deb07f17f44467dd75943d2a2 /compiler-rt/lib/tsan/lit_tests/mutexset7.cc
parent6928cf78262ef71b2f8f560533e064277960b685 (diff)
downloadbcm5719-llvm-e3e0557f196a7b8862f091183c8f05acd1e48de2.tar.gz
bcm5719-llvm-e3e0557f196a7b8862f091183c8f05acd1e48de2.zip
tsan: fix lint warning and make output tests more robust
llvm-svn: 169511
Diffstat (limited to 'compiler-rt/lib/tsan/lit_tests/mutexset7.cc')
-rw-r--r--compiler-rt/lib/tsan/lit_tests/mutexset7.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/lit_tests/mutexset7.cc b/compiler-rt/lib/tsan/lit_tests/mutexset7.cc
index 2516928bafa..03ca9ae0394 100644
--- a/compiler-rt/lib/tsan/lit_tests/mutexset7.cc
+++ b/compiler-rt/lib/tsan/lit_tests/mutexset7.cc
@@ -32,7 +32,7 @@ int main() {
// CHECK: WARNING: ThreadSanitizer: data race
// CHECK: Write of size 4 at {{.*}} by thread T1:
// CHECK: Previous write of size 4 at {{.*}} by thread T2
-// CHECK: (mutexes: write M{{[0-9]+}}):
-// CHECK: Mutex M{{[0-9]+}} is already destroyed
+// CHECK: (mutexes: write [[M1:M[0-9]+]]):
+// CHECK: Mutex [[M1]] is already destroyed
// CHECK-NOT: Mutex {{.*}} created at
OpenPOWER on IntegriCloud