Bug 39055: Adjust xt tests to handle login_op

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
This commit is contained in:
Jonathan Druart 2026-03-10 09:37:07 +01:00 committed by Martin Renvoize
parent 2691d566ed
commit 1984f205ed
No known key found for this signature in database
GPG Key ID: 2D86E0EAEC83711B
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ sub catch_missing_op {
$in_form = 1;
$line_open_form = $line_number;
}
if ( $in_form && $line =~ m{name=('|")op('|")} ) {
if ( $in_form && ( $line =~ m{name=('|")op('|")} || $line =~ m{name=('|")login_op('|")} ) ) {
$has_op = 1;
if ( $line =~ m{value=('|")([^'"]*)('|")} ) {
$op_value = $2;