projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: container-wrapper: size container operation can throw
[lttng-tools.git]
/
tests
/
regression
/
tools
/
wildcard
/
test_event_wildcard
diff --git
a/tests/regression/tools/wildcard/test_event_wildcard
b/tests/regression/tools/wildcard/test_event_wildcard
index 0bf2d2c2c1bf56aae11db4add11891ff2e3979c9..36e669b32f3c471be54347c012d836ad02f68c4d 100755
(executable)
--- a/
tests/regression/tools/wildcard/test_event_wildcard
+++ b/
tests/regression/tools/wildcard/test_event_wildcard
@@
-35,7
+35,7
@@
function run_kernel
function test_event_wildcard()
{
function test_event_wildcard()
{
- TRACE_PATH=$(mktemp -d)
+ TRACE_PATH=$(mktemp -d
-t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX"
)
DOMAIN="$1"
FIND="$2"
WILDCARD="$3"
DOMAIN="$1"
FIND="$2"
WILDCARD="$3"
@@
-69,7
+69,7
@@
function test_event_wildcard()
function test_event_wildcard_fail()
{
function test_event_wildcard_fail()
{
- TRACE_PATH=$(mktemp -d)
+ TRACE_PATH=$(mktemp -d
-t "tmp.${FUNCNAME[0]}_trace_path.XXXXXX"
)
DOMAIN="$1"
WILDCARD="$2"
DOMAIN="$1"
WILDCARD="$2"
@@
-85,6
+85,8
@@
plan_tests $NUM_TESTS
print_test_banner "$TEST_DESC"
print_test_banner "$TEST_DESC"
+bail_out_if_no_babeltrace
+
start_lttng_sessiond
diag "Test UST wildcard"
start_lttng_sessiond
diag "Test UST wildcard"
@@
-167,7
+169,7
@@
skip $isroot "Root access is needed. Skipping all kernel wildcard tests." $NUM_K
test_event_wildcard kernel 1 'lttng*test*filter*event'
test_event_wildcard kernel 1 '*lttng*test*filter*event*'
test_event_wildcard kernel 1 'lttng*test*filter*event'
test_event_wildcard kernel 1 '*lttng*test*filter*event*'
-
rmmod
lttng-test
+
modprobe --remove
lttng-test
}
stop_lttng_sessiond
}
stop_lttng_sessiond
This page took
0.023802 seconds
and
4
git commands to generate.