}
modprobe lttng-test
+tap_disable
start_lttng_sessiond_notap
start_lttng_relayd_notap "-o $TRACE_PATH"
source $TESTDIR/utils/utils.sh
echo "$TEST_DESC"
+tap_disable
function setup_live_tracing()
{
source $TESTDIR/utils/utils.sh
echo "$TEST_DESC"
+tap_disable
function setup_live_tracing()
{
exit 0
}
+tap_disable
+
validate_lttng_modules_present
modprobe lttng-test
}
validate_lttng_modules_present
+tap_disable
modprobe lttng-test
}
validate_lttng_modules_present
+tap_disable
modprobe lttng-test
}
validate_lttng_modules_present
+tap_disable
modprobe lttng-test
}
validate_lttng_modules_present
+tap_disable
start_lttng_sessiond_notap
}
validate_lttng_modules_present
+tap_disable
start_lttng_sessiond_notap
ust_event_generator "$GEN_UST_EVENTS_TESTAPP_BIN" "$TESTAPP_STATE_PATH" &
APP_PID=$!
+ diag "Started generator pid $APP_PID"
+ while pgrep notification ; do
+ diag "WARNING: notification already running"
+ kill $(pgrep notification)
+ sleep 1
+ done
+ diag "$CURDIR/notification 2 LTTNG_DOMAIN_UST $APP_PID $TESTAPP_STATE_PATH $SESSION_NAME $CHANNEL_NAME ${consumerd_pipe[@]}"
"$CURDIR/notification" 2 LTTNG_DOMAIN_UST $APP_PID "$TESTAPP_STATE_PATH" \
- $SESSION_NAME $CHANNEL_NAME "${consumerd_pipe[@]}"
+ $SESSION_NAME $CHANNEL_NAME "${consumerd_pipe[@]}"
destroy_lttng_session_notap $SESSION_NAME
# On ungraceful kill the app is cleaned up via the full_cleanup call
# Suppress kill message
kill -SIGUSR2 $APP_PID
+ diag "About to wait on PID $APP_PID"
wait $APP_PID 2> /dev/null
+ diag "Wait done"
# Just in case cleanup
rm -rf "$TRACE_PATH"
+ diag "Test done"
}
+# Avoid spurious messages about exiting before the test output anything on cleanup
+tap_disable
+
LTTNG_SESSIOND_ENV_VARS="LTTNG_TESTPOINT_ENABLE=1 CONSUMER_PAUSE_PIPE_PATH=${TESTPOINT_PIPE_PATH} LD_PRELOAD=${TESTPOINT}"
start_lttng_sessiond_notap
wait $APP_PID 2> /dev/null
}
+tap_disable
start_lttng_sessiond_notap
test_basic_error_path
wait $APP_PID 2> /dev/null
}
+# Avoid spurious tap messages from the shell runner
+tap_disable
+
start_lttng_sessiond_notap
test_basic_error_path
wait $APP_PID 2> /dev/null
}
+tap_disable
start_lttng_sessiond_notap
test_event_rule_condition_exclusion_notification
DIR=$(readlink -f $TESTDIR)
source $TESTDIR/utils/utils.sh
+
start_lttng_sessiond_notap
+tap_disable
create_lttng_session_notap $SESSION_NAME $SESSION_OUTPUT_PATH
print_test_banner "$TEST_DESC"
start_lttng_sessiond_notap
+tap_disable
create_lttng_session_notap $SESSION_NAME $TRACE_PATH
# MUST set TESTDIR before calling those functions
start_lttng_sessiond_notap
+tap_disable
$HIDDEN_TRIGGER_BIN "$TRACE_PATH"
# MUST set TESTDIR before calling those functions
start_lttng_sessiond_notap
+tap_disable
$TRIGGER_NAME_BIN
source $TESTDIR/utils/utils.sh
+tap_disable
start_lttng_sessiond_notap
python3 ${CURDIR}/test_baddr-statedump.py
source $TESTDIR/utils/utils.sh
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_daemon.py
source $TESTDIR/utils/utils.sh
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_exit-fast.py
source $TESTDIR/utils/utils.sh
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_fork.py
source $TESTDIR/utils/utils.sh
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_libc-wrapper.py
# Try to launch a sessiond before invoking the python test script
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_linking.py
source $TESTDIR/utils/utils.sh
+tap_disable
start_lttng_sessiond_notap
python3 ${CURDIR}/test_type_declarations.py
export LTTNG_TOOLS_HAVE_DLMOPEN=@HAVE_DLMOPEN@
start_lttng_sessiond_notap
+tap_disable
python3 ${CURDIR}/test_ust-dl.py