X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=tests%2Fregression%2Ftools%2Ftracefile-limits%2Ftest_tracefile_count;h=244910dd680dfa1003678ed7a2ca71818e9eb0ba;hp=eb5d1a5f13c146aa78771414112d139f2c141bc9;hb=33e557114a2ba28e26e220a833e8a449c78b8b65;hpb=fc2dd19e2c7dbeaa86654b47c0a2c221b7018ecf diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_count b/tests/regression/tools/tracefile-limits/test_tracefile_count index eb5d1a5f1..244910dd6 100755 --- a/tests/regression/tools/tracefile-limits/test_tracefile_count +++ b/tests/regression/tools/tracefile-limits/test_tracefile_count @@ -90,10 +90,9 @@ function test_tracefile_count_limit () local session_name local stream_pattern=".*${channel_name}_${cpuno}_[0-9]*" local stream_size=0 - local trace_path + local trace_path=$(mktemp --tmpdir -d "tmp.${FUNCNAME[0]}_trace_path.XXXXXX") session_name=$(randstring 16 0) - trace_path=$(mktemp -d) diag "Test tracefile count limit : CPU $cpuno, $count_limit tracefiles, expecting a maximum of $expected_size bytes per CPU"