tests: delete temporary files in cli/test_help
[babeltrace.git] / tests / cli / test_help
index b867618e3b125f49453aaeb51204f68a878ae537..da6460b76bb0244eea77b8484bd26f3b0b2de310 100755 (executable)
@@ -28,8 +28,8 @@ source "$UTILSSH"
 
 plan_tests 21
 
-stdout=$(mktemp test_help_stdout.XXXXXX)
-stderr=$(mktemp test_help_stderr.XXXXXX)
+stdout=$(mktemp -t test_help_stdout.XXXXXX)
+stderr=$(mktemp -t test_help_stderr.XXXXXX)
 
 # Return 0 if file "$1" exists and is empty, non-0 otherwise.
 
@@ -107,3 +107,5 @@ ok $? "help with unknown component class plugin produces expected error"
 
 is_empty "${stdout}"
 ok $? "help with unknown component class plugin produces no output"
+
+rm -f "${stdout}" "${stderr}"
This page took 0.024142 seconds and 4 git commands to generate.