Tests: use configured processor count in snapshot tests
[lttng-tools.git] / tests / regression / tools / snapshots / ust_test
index 11b04ed83810558e060cee6989903864694d0ab0..f65906f11fe5d8aa3e7ddbaba77de86c9e285bf5 100755 (executable)
@@ -182,7 +182,7 @@ function test_ust_local_snapshot ()
 function test_ust_local_snapshot_max_size ()
 {
        page_size=`getconf PAGE_SIZE`
-       num_cpus=`nproc`
+       num_cpus=$(conf_proc_count)
 
        # The minimum subbuf size is the platform PAGE_SIZE
        subbuf_size=$(($page_size*2))
This page took 0.023274 seconds and 4 git commands to generate.