Tests fix: source utils.sh before using conf_proc_count
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 12 Feb 2016 21:41:49 +0000 (16:41 -0500)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sun, 14 Feb 2016 23:43:13 +0000 (18:43 -0500)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/ust/getcpu-override/test_getcpu_override

index 10b06e39a3e5c7013041f9d09c3b67f90f06f680..1aa50ad97afb9ad16628b81f0ecc84ae26975715 100755 (executable)
@@ -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
This page took 0.030964 seconds and 4 git commands to generate.