Test: Ensure wildcards may only appear last in a string literal
[lttng-tools.git] / tests / regression / tools / filtering / test_invalid_filter
index 5e096a5b389382be48cc9f5e3953a1a4fcb483e2..e566c8b72bc8b56fdf67f0f8cdbdb1189b87f1a3 100755 (executable)
@@ -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
This page took 0.025299 seconds and 5 git commands to generate.