Tests: Fix numactl on WSL2

This commit is contained in:
Wilson Snyder 2021-10-19 21:24:22 -04:00
parent 371bf01957
commit aa1a0b0f13

View File

@ -20,7 +20,7 @@ compile(
# WSL2 gives a warning and we must skip the test:
# "physcpubind: 0 1 2 3 ...\n No NUMA support available on this system."
my $nout = `numactl --show`;
if ($nout !~ /cpu/ || $nout =~ /system does not support NUMA/i) {
if ($nout !~ /cpu/ || $nout =~ /No NUMA support available/i) {
skip("No numactl available");
} else {
execute(