From: Jérémie Galarneau Date: Fri, 12 Feb 2016 21:41:49 +0000 (-0500) Subject: Tests fix: source utils.sh before using conf_proc_count X-Git-Tag: v2.8.0-rc1~184 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fb7767e02f8f8d126153786073497440a8065ea9;p=lttng-tools.git Tests fix: source utils.sh before using conf_proc_count Signed-off-by: Jérémie Galarneau --- 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