From: Jérémie Galarneau Date: Fri, 12 Feb 2016 16:17:42 +0000 (-0500) Subject: Tests: use configured processor count in snapshot tests X-Git-Tag: v2.7.2~20 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=9dfe0fe1d517b0c35a696c9f7a81868efe06db90;p=lttng-tools.git Tests: use configured processor count in snapshot tests Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/snapshots/ust_test b/tests/regression/tools/snapshots/ust_test index 11b04ed83..f65906f11 100755 --- a/tests/regression/tools/snapshots/ust_test +++ b/tests/regression/tools/snapshots/ust_test @@ -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))