| 1 | Fix tests on devices with exactly 10 cores |
| 2 | |
| 3 | |
| 4 | |
| 5 | use strict; |
| 6 | use warnings; |
| 7 | |
| 8 | chomp(my $cpu_count = `grep -c -P '^processor\\s+:' /proc/cpuinfo`); |
| 9 | -if ($cpu_count < 10) { |
| 10 | +if ($cpu_count <= 10) { |
| 11 | print "all: 00% CPU_0: 00% CPU_10: \n"; |
| 12 | } else { |
| 13 | print "all: 00% CPU_0: 00% CPU_10: 00%\n"; |