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.7.2~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=62ff87416d60ffdfbd8d3469487c2d5e56306519;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 10b06e39a..1aa50ad97 100755 --- a/tests/regression/ust/getcpu-override/test_getcpu_override +++ b/tests/regression/ust/getcpu-override/test_getcpu_override @@ -44,11 +44,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