From: Michael Jeanson Date: Tue, 15 Mar 2016 20:13:26 +0000 (-0400) Subject: Tests: use configured processor count in tracefile count test X-Git-Tag: v2.6.2~3 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7b1c9c51cba2b3401de725720859b8e1e7cfb376;p=lttng-tools.git Tests: use configured processor count in tracefile count test Signed-off-by: Michael Jeanson Signed-off-by: Jérémie Galarneau --- diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_count b/tests/regression/tools/tracefile-limits/test_tracefile_count index df1cdceaf..900150c40 100755 --- a/tests/regression/tools/tracefile-limits/test_tracefile_count +++ b/tests/regression/tools/tracefile-limits/test_tracefile_count @@ -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