Bug 39055: Adjust xt tests to handle login_op
Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
(cherry picked from commit 1984f205ed)
Signed-off-by: Chloé Zermatten <chloe.zermatten@openfifth.co.uk>
This commit is contained in:
parent
929934989e
commit
45798dc92f
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue