Fix: src.ctf.fs: initialize the other_entry variable
[babeltrace.git] / tests / plugins / src.ctf.fs / succeed / test_succeed
index 0cc3569912124fa5403f1428cab4f4b5f96c54f5..47e45b905b53a531c18e5d8cf9f4093762aebca2 100755 (executable)
@@ -66,9 +66,13 @@ test_packet_end() {
        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[@]}" \
@@ -100,8 +104,11 @@ test_force_origin_unix_epoch() {
        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[@]}" \
@@ -129,7 +136,7 @@ test_force_origin_unix_epoch() {
        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
@@ -137,5 +144,6 @@ test_ctf_single smalltrace
 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
This page took 0.025135 seconds and 4 git commands to generate.