Force the lttng-sessiond path to /bin/true to prevent daemonized spawning
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 8 Mar 2016 20:17:44 +0000 (15:17 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Tue, 8 Mar 2016 20:17:44 +0000 (15:17 -0500)
scripts/lttng-tools/build.sh

index 2e1b2716c28c474c75f166343f464424da50c4b2..bade02d69892bb8f3cc6be5cbb08c0fe16594346 100755 (executable)
@@ -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
This page took 0.027197 seconds and 4 git commands to generate.