diff options
| author | Andreas Hasenack <andreas.hasenack@canonical.com> | 2022-11-22 20:27:41 +0000 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2022-11-23 10:20:19 +0900 |
| commit | 1f51b77f4f3f4d05f249f80713b2969e4069c109 (patch) | |
| tree | 142b65f69030cf469a2d576f9be3e3f949a7fefe /commit.h | |
| parent | Downmerge a bit more for 2.38.2 (diff) | |
| download | git-1f51b77f4f3f4d05f249f80713b2969e4069c109.tar.gz git-1f51b77f4f3f4d05f249f80713b2969e4069c109.zip | |
chainlint.pl: fix /proc/cpuinfo regexp
29fb2ec3 (chainlint.pl: validate test scripts in parallel,
2022-09-01) introduced a function that gets the number of cores from
/proc/cpuinfo on some systems, notably linux.
The regexp it uses (^processor\s*:) fails to match the desired lines in
the s390x architecture, where they look like this:
processor 0: version = FF, identification = 148F67, machine = 2964
As a result, on s390x that function returns 0 as the number of cores,
and the chainlint.pl script exits without doing anything.
Signed-off-by: Andreas Hasenack <andreas.hasenack@canonical.com>
Acked-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
