From: Francis Deslauriers Date: Wed, 2 Jun 2021 19:28:24 +0000 (-0400) Subject: Tests: remove leftover temporary files X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=0d0386e0c99db3d2c0ae6a725d70db5075a75c73 Tests: remove leftover temporary files Signed-off-by: Francis Deslauriers Signed-off-by: Jérémie Galarneau Change-Id: Ie9249820643158c1572c9ce45507d1cba36bf6f7 --- diff --git a/tests/regression/tools/exclusion/test_exclusion b/tests/regression/tools/exclusion/test_exclusion index 1bfb63533..00e364025 100755 --- a/tests/regression/tools/exclusion/test_exclusion +++ b/tests/regression/tools/exclusion/test_exclusion @@ -146,6 +146,9 @@ function test_exclusion_tracing_started ok 0 "Validate trace exclusion output" rm -rf $trace_path fi + + rm -f $file_wait_before_first + rm -f $file_create_in_main } function test_exclusion_fail diff --git a/tests/regression/tools/notification/test_notification_notifier_discarded_count b/tests/regression/tools/notification/test_notification_notifier_discarded_count index fa7ad1e40..47793b8b8 100755 --- a/tests/regression/tools/notification/test_notification_notifier_discarded_count +++ b/tests/regression/tools/notification/test_notification_notifier_discarded_count @@ -418,4 +418,4 @@ else skip 0 "Root access is needed. Skipping all kernel notification tests." $KERNEL_NUM_TESTS fi -rm -f "$TEST_TMPDIR" +rm -rf "$TEST_TMPDIR" diff --git a/tests/regression/tools/relayd-grouping/test_ust b/tests/regression/tools/relayd-grouping/test_ust index 565950b18..615741364 100755 --- a/tests/regression/tools/relayd-grouping/test_ust +++ b/tests/regression/tools/relayd-grouping/test_ust @@ -48,6 +48,7 @@ function get_auto_session_name () value=$($XML_EXTRACT "$OUTPUT_DEST" ${XPATH_SESSION}/lttng:name/text\(\)) ok $? "Extraction of session name" + rm -f $OUTPUT_DEST OUTPUT_DEST=/dev/null LTTNG_BIN=$lttng_bin