From 1901f874b07da9c6491de07ef73ed8584bec06e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 12 Feb 2016 11:17:42 -0500 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 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)) -- 2.34.1