From: Jérémie Galarneau Date: Tue, 15 Mar 2016 20:13:25 +0000 (-0400) Subject: Tests: use configured processor count in snapshot tests X-Git-Tag: v2.6.2~4 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5fbc8b2773792892a41dc2424df5f5d08c1b9e76;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 e839b84bf..0b8bb24e9 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 () { subbuf_size=8192 - num_cpus=`nproc` + num_cpus=$(conf_proc_count) # The minimum size limit is min(subbuf_size) * nb_streams max_size=$(($subbuf_size*$num_cpus))