From a4e98cc03c2e0dcc4fca078487330e90cd825675 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Tue, 8 Mar 2016 15:17:44 -0500 Subject: [PATCH] Force the lttng-sessiond path to /bin/true to prevent daemonized spawning --- scripts/lttng-tools/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/lttng-tools/build.sh b/scripts/lttng-tools/build.sh index 2e1b271..bade02d 100755 --- a/scripts/lttng-tools/build.sh +++ b/scripts/lttng-tools/build.sh @@ -238,6 +238,10 @@ if [ "$RUN_TESTS" = "yes" ]; then cd $BUILD_PATH/tests + # Force the lttng-sessiond path to /bin/true to prevent the spawing of a + # lttng-sessiond --daemonize on "lttng create" + export LTTNG_SESSIOND_PATH="/bin/true" + # Run 'unit_tests' and 'fast_regression' test suites for all configs except 'no-ust' if [ "$conf" != "no-ust" ]; then prove --merge -v --exec '' - < $BUILD_PATH/tests/unit_tests --archive $WORKSPACE/tap/unit/ || true -- 2.34.1