7 if [ x
$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1
]; then
11 color_error
='\E[1;91m'
15 lttng_processes
="$("$PGREP" -l 'lttng|gen-ust-.+')"
18 pids
="$(cut -d ' ' -f 1 <<< "$lttng_processes" | tr '\n' ' ')"
20 echo -e "${color_error}Error: the following LTTng processes were detected running on the system:$color_reset"
22 echo "$lttng_processes"
24 echo -e "Here's how to kill them: ${color_bold}kill -9 $pids$color_reset"
26 echo "The test suite will not run in the presence of those processes since its result may not be reliable."
This page took 0.033971 seconds and 5 git commands to generate.