From: Jérémie Galarneau Date: Wed, 14 May 2014 20:52:22 +0000 (-0400) Subject: Fix: Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH variable X-Git-Tag: v2.5.0-rc1~34 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=d3d97763cf23a985a5e3f03000973bbe21c536e9;p=lttng-tools.git Fix: Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH variable Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH environment variable to use the in-tree session configuration schema. Signed-off-by: Jérémie Galarneau Signed-off-by: David Goulet --- diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh index a1a26d9df..280cc40e0 100644 --- a/tests/utils/utils.sh +++ b/tests/utils/utils.sh @@ -166,6 +166,8 @@ function start_lttng_sessiond() fi DIR=$(readlink -f $TESTDIR) + : ${LTTNG_SESSION_CONFIG_XSD_PATH=${DIR}/../src/common/config/} + export LTTNG_SESSION_CONFIG_XSD_PATH if [ -z $(pidof lt-$SESSIOND_BIN) ]; then $DIR/../src/bin/lttng-sessiond/$SESSIOND_BIN --background --consumerd32-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd" --consumerd64-path="$DIR/../src/bin/lttng-consumerd/lttng-consumerd"