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-Url: http://git.efficios.com/?p=lttng-tools.git;a=commitdiff_plain;h=1901f874b07da9c6491de07ef73ed8584bec06e1 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))