projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tests: Make test_per_application_leaks more robust
[lttng-tools.git]
/
tests
/
regression
/
ust
/
python-logging
/
test_python_logging.in
diff --git
a/tests/regression/ust/python-logging/test_python_logging.in
b/tests/regression/ust/python-logging/test_python_logging.in
index 4d9cbe37646d51fe297e27dc06c5869e4c6f0fd6..0bb7ef24d82989e77ed71b945c3fcf6dcd6fa6ab 100755
(executable)
--- a/
tests/regression/ust/python-logging/test_python_logging.in
+++ b/
tests/regression/ust/python-logging/test_python_logging.in
@@
-106,8
+106,8
@@
function enable_python_filter_loglevel_only()
function test_python_before_start ()
{
function test_python_before_start ()
{
- local ready_file=$(mktemp -u)
- local go_file=$(mktemp -u)
+ local ready_file=$(mktemp -u
-t
)
+ local go_file=$(mktemp -u
-t
)
diag "Test Python application BEFORE tracing starts"
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
diag "Test Python application BEFORE tracing starts"
create_lttng_session_ok $SESSION_NAME $TRACE_PATH
@@
-693,13
+693,14
@@
function test_python_trigger_notify_action
diag "Test Python trigger with notify action"
lttng_add_trigger_ok "my_python_trigger" \
diag "Test Python trigger with notify action"
lttng_add_trigger_ok "my_python_trigger" \
- --condition event-rule-matches --
domain
=python --action notify
+ --condition event-rule-matches --
type
=python --action notify
cat > "${tmp_expected_stdout}" <<- EOF
- name: my_python_trigger
owner uid: ${uid}
condition: event rule matches
cat > "${tmp_expected_stdout}" <<- EOF
- name: my_python_trigger
owner uid: ${uid}
condition: event rule matches
- rule: * (type: tracepoint, domain: python)
+ rule: * (type: python:logging)
+ errors: none
actions:
notify
errors: none
actions:
notify
errors: none
@@
-753,7
+754,7
@@
skip $skip_agent "Python agent test skipped." $NUM_TESTS ||
do
for fct_test in ${tests[@]};
do
do
for fct_test in ${tests[@]};
do
- TRACE_PATH=$(mktemp -d)
+ TRACE_PATH=$(mktemp -d
-t tmp.test_python_logging_trace_path.XXXXXX
)
diag "(Python $python_version)"
${fct_test} $python_version
diag "(Python $python_version)"
${fct_test} $python_version
This page took
0.024658 seconds
and
4
git commands to generate.