Do not ignore serial_device nor disk_device
Harden mirror and options regexps also.
This commit is contained in:
committed by
Axel Beckert
parent
0cb0a8716c
commit
ea09c86b7a
@@ -45,9 +45,8 @@ foreach my $key ( sort keys %OPTIONS )
|
||||
}
|
||||
}
|
||||
|
||||
next if ( $key =~ /mirror_/i );
|
||||
next if ( $key =~ /_options/i );
|
||||
next if ( $key =~ /(serial_device|disk_device)/i );
|
||||
next if ( $key =~ /^mirror_/ );
|
||||
next if ( $key =~ /_options$/ );
|
||||
|
||||
is( $found, 1 , " Found documentation for '$key'" );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user