From: Mathieu Desnoyers Date: Fri, 22 Sep 2017 00:53:01 +0000 (-0400) Subject: Add () for bitwise and comparator tests X-Git-Tag: v2.11.0-rc1~172 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=cea52dd840acdde397e68926741e47eff5f7fa1d;p=lttng-tools.git Add () for bitwise and comparator tests Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/filtering/test_valid_filter b/tests/regression/tools/filtering/test_valid_filter index 722a6f6ad..319204ccf 100755 --- a/tests/regression/tools/filtering/test_valid_filter +++ b/tests/regression/tools/filtering/test_valid_filter @@ -674,13 +674,13 @@ UST_FILTERS=( "1 >= (1 >= (1 >= 1))" true_statement - "0x101 & 0x100 == 0x100" + "(0x101 & 0x100) == 0x100" true_statement - "0x101 | 0x10100 == 0x10101" + "(0x101 | 0x10100) == 0x10101" true_statement - "0xF00F0F ^ 0xFF0F00 == 0x0F000F" + "(0xF00F0F ^ 0xFF0F00) == 0x0F000F" true_statement "(1 << 1) == 2" @@ -719,19 +719,19 @@ UST_FILTERS=( "(1 << 63) == 9223372036854775808" true_statement - "arrfield1[2] & 1 == 1" + "(arrfield1[2] & 1) == 1" true_statement - "arrfield1[2] | 0x111000 == 0x111003" + "(arrfield1[2] | 0x111000) == 0x111003" true_statement "(arrfield1[0] | arrfield1[1] | arrfield1[2]) == 0x3" true_statement - "seqfield4[2] & 1 == 1" + "(seqfield4[2] & 1) == 1" true_statement - "seqfield4[2] | 0x111000 == 0x111003" + "(seqfield4[2] | 0x111000) == 0x111003" true_statement "intfield < 0xDEADBEEF" @@ -1135,13 +1135,13 @@ KERNEL_FILTERS=( "1 >= (1 >= (1 >= 1))" true_statement - "0x101 & 0x100 == 0x100" + "(0x101 & 0x100) == 0x100" true_statement - "0x101 | 0x10100 == 0x10101" + "(0x101 | 0x10100) == 0x10101" true_statement - "0xF00F0F ^ 0xFF0F00 == 0x0F000F" + "(0xF00F0F ^ 0xFF0F00) == 0x0F000F" true_statement "(1 << 1) == 2" @@ -1180,19 +1180,19 @@ KERNEL_FILTERS=( "(1 << 63) == 9223372036854775808" true_statement - "arrfield1[2] & 1 == 1" + "(arrfield1[2] & 1) == 1" true_statement - "arrfield1[2] | 0x111000 == 0x111003" + "(arrfield1[2] | 0x111000) == 0x111003" true_statement "(arrfield1[0] | arrfield1[1] | arrfield1[2]) == 0x3" true_statement - "seqfield4[2] & 1 == 1" + "(seqfield4[2] & 1) == 1" true_statement - "seqfield4[2] | 0x111000 == 0x111003" + "(seqfield4[2] | 0x111000) == 0x111003" true_statement "intfield < 0xDEADBEEF"