]> git.lttng.org Git - lttng-tools.git/commitdiff
Tests: use configured processor count in tracefile count test
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 15 Mar 2016 20:13:26 +0000 (16:13 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Tue, 15 Mar 2016 20:21:45 +0000 (16:21 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/regression/tools/tracefile-limits/test_tracefile_count

index df1cdceaf49aede055b1f56171bf626d768d288d..900150c402e70ef14e93e849f2ca988f9b8f7d8b 100755 (executable)
@@ -27,10 +27,10 @@ TESTAPP_BIN="$TESTAPP_PATH/$TESTAPP_NAME/$TESTAPP_NAME"
 STATS_BIN="$TESTDIR/utils/babelstats.pl"
 NUM_TESTS=74
 
-NUM_CPUS=`nproc`
-
 source $TESTDIR/utils/utils.sh
 
+NUM_CPUS=$(conf_proc_count)
+
 if [ ! -x "$TESTAPP_BIN" ]; then
        BAIL_OUT "No UST events binary detected."
 fi
This page took 0.030624 seconds and 4 git commands to generate.