Tests: use configured processor count in snapshot tests
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 12 Feb 2016 16:17:42 +0000 (11:17 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 12 Feb 2016 16:19:02 +0000 (11:19 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/snapshots/ust_test

index 11b04ed83810558e060cee6989903864694d0ab0..f65906f11fe5d8aa3e7ddbaba77de86c9e285bf5 100755 (executable)
@@ -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))
This page took 0.0247 seconds and 4 git commands to generate.