summaryrefslogtreecommitdiff
path: root/lang/colm/files/patch-test_runtests
blob: d2cca0f2428edba74263ca9512a2b9f493eaaa4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- test/runtests.orig	2022-11-25 08:51:12 UTC
+++ test/runtests
@@ -10,7 +10,7 @@ timed()
 	if [ -f /proc/cpuinfo ]; then
 		CORES=$(awk '/cpu cores/ { print $4; exit }' /proc/cpuinfo)
 	else
-		CORES=$(sysctl -n hw.physicalcpu)
+		CORES=$(sysctl -n hw.ncpu)
 	fi