Commit 0214260
tests: posix: threads_base: suppress SonarCloud false positives
Add NOSONAR annotations on intentional double-lock test cases:
- mutex.c: recursive mutex test that intentionally locks twice
- pthread.c: trylock failure test that intentionally attempts a
second lock to verify trylock returns non-zero when already held
Signed-off-by: Seyoung Jeong <seyoungjeong@gmail.com>1 parent 2563fc7 commit 0214260
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments