Index: test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc =================================================================== --- test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc +++ test/sanitizer_common/TestCases/Posix/dedup_token_length_test.cc @@ -1,10 +1,10 @@ // Test dedup_token_length // RUN: %clangxx -O0 %s -o %t -// RUN: env %tool_options='abort_on_error=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0 -// RUN: env %tool_options='abort_on_error=0, dedup_token_length=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0 -// RUN: env %tool_options='abort_on_error=0, dedup_token_length=1' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK1 -// RUN: env %tool_options='abort_on_error=0, dedup_token_length=2' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK2 -// RUN: env %tool_options='abort_on_error=0, dedup_token_length=3' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK3 +// RUN: env %tool_options='abort_on_error=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0 --match-full-lines +// RUN: env %tool_options='abort_on_error=0, dedup_token_length=0' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK0 --match-full-lines +// RUN: env %tool_options='abort_on_error=0, dedup_token_length=1' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK1 --match-full-lines +// RUN: env %tool_options='abort_on_error=0, dedup_token_length=2' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK2 --match-full-lines +// RUN: env %tool_options='abort_on_error=0, dedup_token_length=3' not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK3 --match-full-lines // REQUIRES: stable-runtime // FIXME: implement SEGV handler in other sanitizers, not just asan. @@ -34,7 +34,5 @@ // CHECK0-NOT: DEDUP_TOKEN: // CHECK1: DEDUP_TOKEN: void Xyz::Abc() -// CHECK1-NOT: bar // CHECK2: DEDUP_TOKEN: void Xyz::Abc()--bar -// CHECK2-NOT: FOO // CHECK3: DEDUP_TOKEN: void Xyz::Abc()--bar--FOO()