From 5fbc8b2773792892a41dc2424df5f5d08c1b9e76 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Tue, 15 Mar 2016 16:13:25 -0400 Subject: [PATCH] Tests: use configured processor count in snapshot tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/regression/tools/snapshots/ust_test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.34.1