From fb7767e02f8f8d126153786073497440a8065ea9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Fri, 12 Feb 2016 16:41:49 -0500 Subject: [PATCH] Tests fix: source utils.sh before using conf_proc_count MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérémie Galarneau --- tests/regression/ust/getcpu-override/test_getcpu_override | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/regression/ust/getcpu-override/test_getcpu_override b/tests/regression/ust/getcpu-override/test_getcpu_override index 585f3b3a0..f140eeaed 100755 --- a/tests/regression/ust/getcpu-override/test_getcpu_override +++ b/tests/regression/ust/getcpu-override/test_getcpu_override @@ -45,11 +45,11 @@ SEQUENCE_SEED=( 89 13 63 6 136 153 23 16 47 130 75 62 ) +source $TESTDIR/utils/utils.sh + # Equivalent to the syconf(_SC_NPROCESSORS_CONF) call. num_cpus=$(conf_proc_count) -source $TESTDIR/utils/utils.sh - if [ ! -x "$CURDIR/.libs/lttng-ust-getcpu-override-test.so" ]; then BAIL_OUT "No shared object generated" fi -- 2.34.1