From 9755d4c09cc927256a057bd8bca3708f19ff1e8f Mon Sep 17 00:00:00 2001 From: Dmitry Goncharov Date: Sat, 23 Apr 2022 15:53:36 -0400 Subject: [PATCH] * tests/scripts/options/dash-l: [SV 62172] Skip if not available --- tests/scripts/options/dash-l | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.47.3