X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=tests%2Futils%2Futils.sh;h=6c5279bddca16877265c0f19d585cb9b790d7ff8;hb=db06086b942d5116b00d82780a43f41383e5618f;hp=0817e65bbd90dd344b05d14f9d2baaaa8b1e9212;hpb=a3b436f9c9e5e1268fae95ed7c4f8d9381a8fa80;p=lttng-tools.git diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index 0817e65bb..6c5279bdd 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -33,6 +33,12 @@ KERNEL_PATCHLEVEL_VERSION=27 # systems. Specialized tests should test those corner-cases. export LTTNG_UST_REGISTER_TIMEOUT=-1 +# We set the default lttng-sessiond path to /bin/true to prevent the spawning +# of a daemonized sessiond. This is necessary since 'lttng create' will spawn +# its own sessiond if none is running. It also ensures that 'lttng create' +# fails when no sessiond is running. +export LTTNG_SESSIOND_PATH="/bin/true" + source $TESTDIR/utils/tap/tap.sh function print_ok ()