X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ffiltering%2Ftest_invalid_filter;h=074786331464d603f393a0a74090f42bafd24bde;hb=3e36ec25ba901eea0bf987bcda9887249d128689;hp=066a0e5745bfc2f99b0a15cccf1e8351496bde30;hpb=4d513dce5d26cbc477a00b348beb537d01231cd9;p=lttng-tools.git diff --git a/tests/regression/tools/filtering/test_invalid_filter b/tests/regression/tools/filtering/test_invalid_filter index 066a0e574..074786331 100755 --- a/tests/regression/tools/filtering/test_invalid_filter +++ b/tests/regression/tools/filtering/test_invalid_filter @@ -1,6 +1,8 @@ #!/bin/bash # -# Copyright (C) - 2012 Christian Babeux +# Copyright (C) 2012 Christian Babeux +# +# SPDX-License-Identifier: GPL-2.0-only # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License, version 2 only, as @@ -24,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 @@ -149,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"