[lttng-dev] [PATCH lttng-tools] Fix: Tests should set the LTTNG_SESSION_CONFIG_XSD_PATH variable

David Goulet dgoulet at efficios.com
Wed May 14 16:53:29 EDT 2014


Merged!

On 14 May (16:52:22), Jérémie Galarneau wrote:
> 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 <jeremie.galarneau at efficios.com>
> ---
>  tests/utils/utils.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh
> index a1a26d9..280cc40 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"
> -- 
> 1.9.2
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: Digital signature
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20140514/051f4ffa/attachment.sig>


More information about the lttng-dev mailing list