From d3d97763cf23a985a5e3f03000973bbe21c536e9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Wed, 14 May 2014 16:52:22 -0400 Subject: [PATCH] Fix: Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH variable MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/utils/utils.sh | 2 ++ 1 file changed, 2 insertions(+) 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" -- 2.34.1