3 # Copyright (C) 2016 Michael Jeanson <mjeanson@efficios.com>
5 # SPDX-License-Identifier: GPL-2.0-only
12 if [ x
$LTTNG_TOOLS_TESTS_DISABLE_WARN_LTTNG_PROCESSES == x1
]; then
16 color_error
='\E[1;91m'
20 lttng_processes
="$("$PGREP" -l 'lttng|gen-ust-.+')"
23 pids
="$(cut -d ' ' -f 1 <<< "$lttng_processes" | tr '\n' ' ')"
25 echo -e "${color_error}Error: the following LTTng processes were detected running on the system:$color_reset"
27 echo "$lttng_processes"
29 echo -e "Here's how to kill them: ${color_bold}kill -9 $pids$color_reset"
31 echo "The test suite will not run in the presence of those processes since its result may not be reliable."
This page took 0.045322 seconds and 4 git commands to generate.