diff options
author | Thomas Weißschuh <linux@weissschuh.net> | 2023-07-11 11:48:39 +0200 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2023-08-23 04:40:22 +0200 |
commit | 3097783ecf3b963a6b700f32b6190b0910e39724 (patch) | |
tree | 9de6e742fe4891188f2ca4203199af0e7ed7ead7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 67d108e2a2bd258b49902ea9d85c25a53a7c5e5b (diff) |
selftests/nolibc: make evaluation of test conditions
If "cond" is a multi-token statement the behavior of the preprocessor
will lead to the negation "!" to be only applied to the first token.
Although currently no test uses such multi-token conditions but it can
happen at any time.
Put braces around "cond" to ensure the negation works as expected.
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions