From: Jérémie Galarneau Date: Mon, 4 Aug 2014 18:10:28 +0000 (-0400) Subject: Test: Ensure wildcards may only appear last in a string literal X-Git-Tag: v2.6.0-rc1~84 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=22fb211b5ad4d39789f782180a5e610b72a20291;p=lttng-tools.git Test: Ensure wildcards may only appear last in a string literal Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- diff --git a/tests/regression/tools/filtering/test_invalid_filter b/tests/regression/tools/filtering/test_invalid_filter index 5e096a5b3..e566c8b72 100755 --- a/tests/regression/tools/filtering/test_invalid_filter +++ b/tests/regression/tools/filtering/test_invalid_filter @@ -24,7 +24,7 @@ SESSION_NAME="filter-invalid" EVENT_NAME="bogus" ENABLE_EVENT_STDERR="/tmp/invalid-filters-stderr" TRACE_PATH=$(mktemp -d) -NUM_TESTS=143 +NUM_TESTS=146 source $TESTDIR/utils/utils.sh @@ -143,6 +143,8 @@ INVALID_FILTERS=( # Only \$ctx is supported for now "\$global.value == 0" "0 == \$global.value" + # A wildcard should only appear as the last character in a string literal + "msg == \"my_event*_blah\"" ) start_lttng_sessiond