Tests: use configured processor count in snapshot tests
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Mar 2016 20:13:25 +0000 (16:13 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Mar 2016 20:21:29 +0000 (16:21 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/snapshots/ust_test

index e839b84bfa364590e8fb054cbf3791939b3587bb..0b8bb24e95b001f39fb9d241fc1c70a770804861 100755 (executable)
@@ -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))
This page took 0.026553 seconds and 4 git commands to generate.