Re: [lttng-dev] [PATCH lttng-tools] Fix: support for older versions of Babeltrace in test script

2017-01-09 Thread Jérémie Galarneau
Merged, thanks! Jérémie On 20 December 2016 at 16:31, Francis Deslauriers wrote: > A new context field was introduced in version LTTng 2.8 that is printed > by Babeltrace prior to v1.2.5. This regex thus fails to match the > output. Since the context fields are

[lttng-dev] [PATCH lttng-tools] Fix: support for older versions of Babeltrace in test script

2016-12-20 Thread Francis Deslauriers
A new context field was introduced in version LTTng 2.8 that is printed by Babeltrace prior to v1.2.5. This regex thus fails to match the output. Since the context fields are not used by the script, we create a non-capturing group for these fields that matches on both old and new Babeltrace. This