Add pass/fail tests for events with undefined stream IDs
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Sat, 11 Apr 2015 00:01:19 +0000 (20:01 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 7 May 2015 20:02:40 +0000 (16:02 -0400)
commit185bd6caa014a79e400aa70bd6f5f71220a890fe
treee677930fe84df3d382229412f5def531037d546f
parentd56a7fb79d74198a3051ae6a83cac51a7afc23a4
Add pass/fail tests for events with undefined stream IDs

It's valid to have events not specify a stream ID, but only if:

* There are only unspecified-stream events in the trace, or
* Only stream_id 0 is used in other events.

In this case, all events are considered as being part of stream 0.

If there are other stream IDs defined, then all events should
specify their own.

Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/1.8/regression/metadata/fail/stream-undefined-id/metadata [new file with mode: 0644]
tests/1.8/regression/metadata/pass/stream-undefined-id/metadata [new file with mode: 0644]
This page took 0.022912 seconds and 4 git commands to generate.