Tests: use configured processor count in tracefile count test
[lttng-tools.git] / 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.023237 seconds and 4 git commands to generate.