Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
sleep 1
done
test $nr -ge $expected_chunks
- ok $? "Generated $nr chunks in $(($nr_iter))s"
+ ok $? "Generated at least $nr chunks in $(($nr_iter))s"
stop_lttng_tracing_ok $SESSION_NAME
destroy_lttng_session_ok $SESSION_NAME
- # Make sure the 10 first chunks are valid empty traces
i=1
local chunk_pattern=$(get_chunk_pattern ${today})
ret=$?
if [[ $expected_to_fail -eq "1" ]]; then
test "$ret" -ne "0"
- ok $? "Expected fail on rotate session $sess_name"
+ ok $? "Expected fail when setting periodic rotation ($period) of session $sess_name"
else
- ok $ret "Rotate session $sess_name"
+ ok $ret "Set periodic rotatation ($period) of session $sess_name"
fi
}