X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2Ftest_invalid_filter;h=074786331464d603f393a0a74090f42bafd24bde;hp=f336f71925b378d01e301d4a89880e88a9c527f2;hb=c6ec013de9ee66ed4e112be6aa4faccdaf0cba80;hpb=4062406e2a957323852dca73a41e0239f6b9df03 diff --git a/tests/regression/tools/filtering/test_invalid_filter b/tests/regression/tools/filtering/test_invalid_filter index f336f7192..074786331 100755 --- a/tests/regression/tools/filtering/test_invalid_filter +++ b/tests/regression/tools/filtering/test_invalid_filter @@ -26,8 +26,8 @@ EVENT_NAME="bogus" ENABLE_EVENT_STDERR="/tmp/invalid-filters-stderr" TRACE_PATH=$(mktemp -d) NUM_GLOBAL_TESTS=2 -NUM_UST_TESTS=135 -NUM_KERNEL_TESTS=135 +NUM_UST_TESTS=138 +NUM_KERNEL_TESTS=138 NUM_TESTS=$(($NUM_UST_TESTS+$NUM_KERNEL_TESTS+$NUM_GLOBAL_TESTS)) source $TESTDIR/utils/utils.sh @@ -151,6 +151,8 @@ INVALID_FILTERS=( 'field > "hello*world"' 'field && "hello*world"' 'field || "hello*world"' + # Array expression must contain constant index + 'field[abc] == 1' ) IFS="$OLDIFS"