function signal_cleanup ()
{
stop_lttng_sessiond
- modprobe -r lttng-test
+ modprobe --remove lttng-test
full_cleanup
}
{
local trace_path=$1
set -u
- rm -rf $trace_path/*
+ rm -rf $trace_path
set +u
}
clean_path $TRACE_PATH
done
- rmmod lttng-test
+ modprobe --remove lttng-test
stop_lttng_sessiond
stop_lttng_relayd