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;