[lttng-dev] [PATCH lttng-tools stable-2.6 3/3] Tests: use configured processor count in tracefile count test
Michael Jeanson
mjeanson at efficios.com
Tue Mar 15 20:13:26 UTC 2016
Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
tests/regression/tools/tracefile-limits/test_tracefile_count | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/regression/tools/tracefile-limits/test_tracefile_count b/tests/regression/tools/tracefile-limits/test_tracefile_count
index df1cdce..900150c 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
--
2.7.0
More information about the lttng-dev
mailing list