X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fcli%2Ftest_help;fp=tests%2Fcli%2Ftest_help;h=da6460b76bb0244eea77b8484bd26f3b0b2de310;hb=365a0459f07eef1c2b81516cb87ae562b28373f4;hp=b867618e3b125f49453aaeb51204f68a878ae537;hpb=0c0c4782745d72407f30ddfb34fa837490c1f5f8;p=babeltrace.git diff --git a/tests/cli/test_help b/tests/cli/test_help index b867618e..da6460b7 100755 --- a/tests/cli/test_help +++ b/tests/cli/test_help @@ -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}"