Metadata regeneration does not have to be "destructive"
Currently the metadata regeneration is a possibly "destructive" test, it is possible to test both kernel and ust without performing such destructive manipulation.
echo "" to metadata file (empty it)
validate that babeltrace cannot read the trace (as expected)
lttng regenerate metadata
validate that babeltrace is now able to read the trace.