Tests: remove leftover temporary files
authorFrancis Deslauriers <francis.deslauriers@efficios.com>
Wed, 2 Jun 2021 19:28:24 +0000 (15:28 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Jun 2021 20:52:19 +0000 (16:52 -0400)
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: Ie9249820643158c1572c9ce45507d1cba36bf6f7

tests/regression/tools/exclusion/test_exclusion
tests/regression/tools/notification/test_notification_notifier_discarded_count
tests/regression/tools/relayd-grouping/test_ust

index 1bfb63533761fed9c042b63ba7f87daf1f837419..00e364025e40655f216400dd1da47e6908746ca1 100755 (executable)
@@ -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
index fa7ad1e40ff680163997a003ffe7966a508e6bbe..47793b8b8db14f0e6f169725d29001d09ab41f55 100755 (executable)
@@ -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"
index 565950b1800211655bd772a3021c70919851cd9c..6157413644ab956c6e3a22d8d4be26a136fc6f2c 100755 (executable)
@@ -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
 
This page took 0.026928 seconds and 4 git commands to generate.