SESSIOND_BIN="lttng-sessiond"
RELAYD_BIN="lttng-relayd"
LTTNG_BIN="lttng"
+export LTTNG_SESSION_CONFIG_XSD_PATH=${TESTDIR}../src/common/config/
SESSION_NAME="load-42"
EVENT_NAME="tp:tptest"
{
diag "Test basic load"
- lttng_load "-s $SESSION_NAME -i $CURDIR"
+ lttng_load "-i $CURDIR/$SESSION_NAME.lttng"
destroy_lttng_session $SESSION_NAME
}
# custom values.
start_lttng_relayd "-C tcp://localhost:8172 -D tcp://localhost:9817"
- lttng_load "-s $sess -i $CURDIR"
+ lttng_load "-i $CURDIR/$sess.lttng"
# Once loaded, we are suppose to be able to disable certain events/channels
# thus having a confirmation that it's valid
{
diag "Test load overwrite"
- lttng_load "-s $SESSION_NAME -i $CURDIR"
+ lttng_load "-i $CURDIR/$SESSION_NAME.lttng"
# This one should succeed
- lttng_load "-f -s $SESSION_NAME -i $CURDIR"
+ lttng_load "-f -i $CURDIR $SESSION_NAME"
destroy_lttng_session $SESSION_NAME
}