projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing `test_event_tracker` to fast_regression
[lttng-tools.git]
/
tests
/
regression
/
tools
/
filtering
/
test_valid_filter
diff --git
a/tests/regression/tools/filtering/test_valid_filter
b/tests/regression/tools/filtering/test_valid_filter
index 725d82d4af74c87fad668619575c066edd1fa00b..2c146fe7b026538856d5b5e5ea936940dc6eb55f 100755
(executable)
--- a/
tests/regression/tools/filtering/test_valid_filter
+++ b/
tests/regression/tools/filtering/test_valid_filter
@@
-19,13
+19,12
@@
TEST_DESC="Filtering - Valid filters"
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../../..
CURDIR=$(dirname $0)/
TESTDIR=$CURDIR/../../..
-LTTNG_BIN="lttng"
STATS_BIN="$TESTDIR/utils/babelstats.pl"
SESSION_NAME="valid_filter"
NR_ITER=100
NUM_GLOBAL_TESTS=2
STATS_BIN="$TESTDIR/utils/babelstats.pl"
SESSION_NAME="valid_filter"
NR_ITER=100
NUM_GLOBAL_TESTS=2
-NUM_UST_TESTS=1
098
-NUM_KERNEL_TESTS=10
32
+NUM_UST_TESTS=1
110
+NUM_KERNEL_TESTS=10
44
NUM_TESTS=$(($NUM_UST_TESTS+$NUM_KERNEL_TESTS+$NUM_GLOBAL_TESTS))
source $TESTDIR/utils/utils.sh
NUM_TESTS=$(($NUM_UST_TESTS+$NUM_KERNEL_TESTS+$NUM_GLOBAL_TESTS))
source $TESTDIR/utils/utils.sh
@@
-719,10
+718,16
@@
UST_FILTERS=(
"(1<<63) < 0"
true_statement
"(1<<63) < 0"
true_statement
- "
1<<1==2" # C99 operator priority: comparator before bitwise
+ "
(1<<2!=4)==0" # operator priority: shift before equality
- has_no_event
- "!(1<<1==2)" # C99 operator priority: comparator before bitwise
+ true_statement
+ "1&3==1" # operator priority: masks before equality
+
+ true_statement
+ "(3|1==3)==1" # operator priority: masks before equality
+
+ true_statement
+ "(2^1==3)==1" # operator priority: masks before equality
true_statement
"(1 << 32) == 4294967296"
true_statement
"(1 << 32) == 4294967296"
@@
-1192,10
+1197,16
@@
KERNEL_FILTERS=(
"(1<<63) < 0"
true_statement
"(1<<63) < 0"
true_statement
- "
1<<1==2" # C99 operator priority: comparator before bitwise
+ "
(1<<2!=4)==0" # operator priority: shift before equality
- has_no_event
- "!(1<<1==2)" # C99 operator priority: comparator before bitwise
+ true_statement
+ "1&3==1" # operator priority: masks before equality
+
+ true_statement
+ "(3|1==3)==1" # operator priority: masks before equality
+
+ true_statement
+ "(2^1==3)==1" # operator priority: masks before equality
true_statement
"(1 << 32) == 4294967296"
true_statement
"(1 << 32) == 4294967296"
This page took
0.025336 seconds
and
4
git commands to generate.