tests/src.ctf.fs: add CTF 2 tests for no stream class, no trace class
authorSimon Marchi <simon.marchi@efficios.com>
Sat, 4 Nov 2023 20:23:14 +0000 (20:23 +0000)
committerSimon Marchi <simon.marchi@efficios.com>
Wed, 4 Sep 2024 19:05:14 +0000 (15:05 -0400)
commit9b9735a90d2593d85643672a80758abf19f8fa0c
treeb5387da58df754481ea15a3cc2c94003658f2645
parent6c43935c771c9178a62eeb5329ef1c2c0d784640
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>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12751
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.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.sh
This page took 0.026025 seconds and 4 git commands to generate.