tests/src.ctf.fs: add CTF 2 tests for no stream class, no trace class
authorSimon Marchi <simon.marchi@efficios.com>
Tue, 16 Aug 2022 13:48:56 +0000 (09:48 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 23 Aug 2022 16:06:16 +0000 (12:06 -0400)
commitba3fb998cec1f7bf05915d34d8c19e7c126f5517
treec814bdf40815e827d817307e214a522568fa5b77
parent24d6c55b0488995697e2506b8d4aa805a495dc53
tests/src.ctf.fs: add CTF 2 tests for no stream class, no trace class

During development, we hit some crashes when the trace metadata did not
specify any data stream class fragment (with and without an explicit
trace class fragment).  Add tests for that.

Change-Id: Ic8ce4c7a2ae78b2f484a86e5b1306b7eae606528
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
tests/data/ctf-traces/2/fail/meta-no-stream-cls/metadata [new file with mode: 0644]
tests/data/ctf-traces/2/fail/meta-no-trace-cls-no-stream-cls/metadata [new file with mode: 0644]
tests/plugins/src.ctf.fs/fail/test_fail
This page took 0.024187 seconds and 5 git commands to generate.