projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
run-report: Use libtool wrapper to spawn the sessiond for tests
[lttng-tools.git]
/
tests
/
tools
/
filtering
/
valid-filters
diff --git
a/tests/tools/filtering/valid-filters
b/tests/tools/filtering/valid-filters
index b48b6ed854b96d22f9aaffc599cff3015882c3d1..3d7e921f220314824270347b56e939be3b23a864 100755
(executable)
--- a/
tests/tools/filtering/valid-filters
+++ b/
tests/tools/filtering/valid-filters
@@
-96,6
+96,8
@@
function test_valid_filter
echo -n "Validating filter output "
stats=`babeltrace $trace_path | $CURDIR/$STATS_BIN --tracepoint $EVENT_NAME`
echo -n "Validating filter output "
stats=`babeltrace $trace_path | $CURDIR/$STATS_BIN --tracepoint $EVENT_NAME`
+ rm -rf $trace_path
+
$validator "$stats"
if [ $? -eq 0 ]; then
$validator "$stats"
if [ $? -eq 0 ]; then
@@
-361,6
+363,8
@@
FILTERS=("intfield" #1
"intfield < 0x2" #24
"intfield < 02" #25
"stringfield2 == \"\\\*\"" #26
"intfield < 0x2" #24
"intfield < 02" #25
"stringfield2 == \"\\\*\"" #26
+ "1.0 || intfield || 1.0" #27
+ "1 < intfield" #28
)
VALIDATOR=("validator_intfield" #1
)
VALIDATOR=("validator_intfield" #1
@@
-389,6
+393,8
@@
VALIDATOR=("validator_intfield" #1
"validator_intfield_lt" #24
"validator_intfield_lt" #25
"validator_true_statement" #26
"validator_intfield_lt" #24
"validator_intfield_lt" #25
"validator_true_statement" #26
+ "validator_true_statement" #27
+ "validator_intfield_gt" #28
)
FILTER_COUNT=${#FILTERS[@]}
)
FILTER_COUNT=${#FILTERS[@]}
This page took
0.029202 seconds
and
4
git commands to generate.