local ret_stderr
local details_comp=("-c" "sink.text.details")
local details_args=("-p" "with-trace-name=no,with-stream-name=no,with-metadata=no,compact=yes")
- local temp_stdout_output_file="$(mktemp -t actual_stdout.XXXXXX)"
- local temp_greped_stdout_output_file="$(mktemp -t greped_stdout.XXXXXX)"
- local temp_stderr_output_file="$(mktemp -t actual_stderr.XXXXXX)"
+ local temp_stdout_output_file
+ local temp_greped_stdout_output_file
+ local temp_stderr_output_file
+
+ temp_stdout_output_file="$(mktemp -t actual_stdout.XXXXXX)"
+ temp_greped_stdout_output_file="$(mktemp -t greped_stdout.XXXXXX)"
+ temp_stderr_output_file="$(mktemp -t actual_stderr.XXXXXX)"
bt_cli "$temp_stdout_output_file" "$temp_stderr_output_file" \
"$succeed_trace_dir/$name" "${details_comp[@]}" \
local src_ctf_fs_args=("-p" "force-clock-class-origin-unix-epoch=true")
local details_comp=("-c" "sink.text.details")
local details_args=("-p" "with-trace-name=no,with-stream-name=no,with-metadata=yes,compact=yes")
- local temp_stdout_output_file="$(mktemp -t actual_stdout.XXXXXX)"
- local temp_stderr_output_file="$(mktemp -t actual_stderr.XXXXXX)"
+ local temp_stdout_output_file
+ local temp_stderr_output_file
+
+ temp_stdout_output_file="$(mktemp -t actual_stdout.XXXXXX)"
+ temp_stderr_output_file="$(mktemp -t actual_stderr.XXXXXX)"
bt_cli "$temp_stdout_output_file" "$temp_stderr_output_file" \
"$succeed_trace_dir/$name1" "${src_ctf_fs_args[@]}" \
rm -f "$temp_stdout_output_file" "$temp_stderr_output_file"
}
-plan_tests 9
+plan_tests 10
test_force_origin_unix_epoch 2packets barectf-event-before-packet
test_ctf_gen_single simple
test_ctf_single 2packets
test_ctf_single barectf-event-before-packet
test_ctf_single session-rotation
+test_ctf_single lttng-tracefile-rotation
test_packet_end lttng-event-after-packet
test_packet_end lttng-crash