projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Filter: index array, sequences, implement bitwise binary operators
[lttng-tools.git]
/
tests
/
regression
/
tools
/
filtering
/
test_invalid_filter
diff --git
a/tests/regression/tools/filtering/test_invalid_filter
b/tests/regression/tools/filtering/test_invalid_filter
index 68bbdc18cef8558020ac1e2151e3de9fa524a76f..2c45ee09e75170b0738bec630cb8d6a8d409f893 100755
(executable)
--- a/
tests/regression/tools/filtering/test_invalid_filter
+++ b/
tests/regression/tools/filtering/test_invalid_filter
@@
-25,8
+25,8
@@
EVENT_NAME="bogus"
ENABLE_EVENT_STDERR="/tmp/invalid-filters-stderr"
TRACE_PATH=$(mktemp -d)
NUM_GLOBAL_TESTS=2
ENABLE_EVENT_STDERR="/tmp/invalid-filters-stderr"
TRACE_PATH=$(mktemp -d)
NUM_GLOBAL_TESTS=2
-NUM_UST_TESTS=1
65
-NUM_KERNEL_TESTS=1
65
+NUM_UST_TESTS=1
44
+NUM_KERNEL_TESTS=1
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
@@
-103,9
+103,6
@@
INVALID_FILTERS=(
"intfield-1"
"intfield>>1"
"intfield<<1"
"intfield-1"
"intfield>>1"
"intfield<<1"
- "intfield&1"
- "intfield|1"
- "intfield^1"
"~intfield"
"1+11111-3333+1"
"(1+2)*(55*666)"
"~intfield"
"1+11111-3333+1"
"(1+2)*(55*666)"
@@
-120,9
+117,7
@@
INVALID_FILTERS=(
'0 || ("abc" != "def")) && (3 < 4)'
"a->"
"a-->a"
'0 || ("abc" != "def")) && (3 < 4)'
"a->"
"a-->a"
- "a->a"
"a.b.c->d.e.f+1"
"a.b.c->d.e.f+1"
- "asdfasdf->asdfasdf < 2"
# String can\'t be root node
"\"somestring\""
# Unary op on string not allowed
# String can\'t be root node
"\"somestring\""
# Unary op on string not allowed
@@
-135,9
+130,6
@@
INVALID_FILTERS=(
# Logical operator with string type not allowed
"\"somestring\" || 1"
"1 || \"somestring\""
# Logical operator with string type not allowed
"\"somestring\" || 1"
"1 || \"somestring\""
- # Nesting of binary operator not allowed
- "1 | (1 | (1 | 1))"
- "1 > (1 > (1 > 1))"
"\$ctx == 0"
"0 == \$ctx"
# Only \$ctx is supported for now
"\$ctx == 0"
"0 == \$ctx"
# Only \$ctx is supported for now
This page took
0.023865 seconds
and
4
git commands to generate.