From: Dmitry Goncharov Date: Sat, 23 Apr 2022 19:53:36 +0000 (-0400) Subject: * tests/scripts/options/dash-l: [SV 62172] Skip if not available X-Git-Tag: 4.3.90~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9755d4c09cc927256a057bd8bca3708f19ff1e8f;p=thirdparty%2Fmake.git * tests/scripts/options/dash-l: [SV 62172] Skip if not available --- diff --git a/tests/scripts/options/dash-l b/tests/scripts/options/dash-l index 637c8bd8..d1e60494 100644 --- a/tests/scripts/options/dash-l +++ b/tests/scripts/options/dash-l @@ -42,9 +42,10 @@ $mkoptions .= " -j 4" if ($parallel_jobs); # We have to wait longer than the default (5s). &run_make_with_options($makefile, $mkoptions, &get_logfile, 0, 8); -$slurp = &read_file_into_string (&get_logfile(1)); -if ($slurp !~ /cannot enforce load limit/) { - &compare_output("", &get_logfile(1)); +$slurp = &read_file_into_string(&get_logfile(1)); +if ($slurp =~ /cannot enforce load limit/) { + return -1; } +&compare_output("", &get_logfile(1)); 1;