Make the SEARCH_ABORT logic actually work
The SEARCH_ABORT logic was not working as intended (tests were not being aborted).
This commit is contained in:
parent
3ec8268b4a
commit
ee844f6c34
@ -76,5 +76,6 @@ perl;
|
||||
my $res=@matches ? "FOUND " . scalar(@matches) : "NOT FOUND";
|
||||
$ENV{SEARCH_FILE} =~ s{^.*?([^/\\]+)$}{$1};
|
||||
print "$res /$search_pattern/ in $ENV{SEARCH_FILE}\n";
|
||||
exit $ENV{SEARCH_ABORT} && $res =~ /^$ENV{SEARCH_ABORT}/;
|
||||
die "$ENV{SEARCH_ABORT}\n"
|
||||
if $ENV{SEARCH_ABORT} && $res =~ /^$ENV{SEARCH_ABORT}/;
|
||||
EOF
|
||||
|
Loading…
x
Reference in New Issue
Block a user