From 22fb211b5ad4d39789f782180a5e610b72a20291 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Mon, 4 Aug 2014 14:10:28 -0400 Subject: [PATCH] Test: Ensure wildcards may only appear last in a string literal MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- tests/regression/tools/filtering/test_invalid_filter | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.34.1