Fix: tests: output_dir contains the consumerd pipe
[lttng-tools.git] / tests / regression / tools / notification / test_notification_multi_app
index c1a5158cc542bb03912f862e481c1fb5a6d5d9ac..0c578d223f75ad564629dc2e8bb1731da20eff0a 100755 (executable)
@@ -297,7 +297,6 @@ function test_multi_app ()
                print_errors $output_dir "${high_output_file_pattern}"
        fi
 
-       rm -rf $output_dir
 
        destroy_lttng_session_ok $SESSION_NAME
        stop_lttng_sessiond
@@ -305,6 +304,8 @@ function test_multi_app ()
        for pipe in "${consumerd_pipe[@]}"; do
                rm -rf "${pipe}"
        done
+
+       rm -rf $output_dir
 }
 
 function test_multi_app_ust ()
@@ -453,7 +454,6 @@ function test_on_register_evaluation ()
                print_errors "${high_output_file_pattern}"
        fi
 
-       rm -rf $output_dir
 
        destroy_lttng_session_ok $SESSION_NAME
        stop_lttng_sessiond
@@ -465,6 +465,7 @@ function test_on_register_evaluation ()
                rm -rf "${pipe}"
        done
 
+       rm -rf "$output_dir"
 }
 
 
This page took 0.025743 seconds and 4 git commands to generate.