From aa1a0b0f13d517844f4df61b943f0a6da0ec0309 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 19 Oct 2021 21:24:22 -0400 Subject: [PATCH] Tests: Fix numactl on WSL2 --- test_regress/t/t_bench_mux4k_onecpu.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test_regress/t/t_bench_mux4k_onecpu.pl b/test_regress/t/t_bench_mux4k_onecpu.pl index c53837685..4aa4cada7 100755 --- a/test_regress/t/t_bench_mux4k_onecpu.pl +++ b/test_regress/t/t_bench_mux4k_onecpu.pl @@ -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(