X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=t%2F00-checkdatabase-version.t;h=8bb3661fe332f7c51f8c3543e446fd9a98953e78;hb=568f32606c2c9c247b2b477193a2d6814f738fa6;hp=3a3df52b243e2a52cb05b3c30a2eb77ec50bd855;hpb=367c4fb8815bfe4a01869a25bcd8222989c15dcd;p=koha.git diff --git a/t/00-checkdatabase-version.t b/t/00-checkdatabase-version.t index 3a3df52b24..8bb3661fe3 100644 --- a/t/00-checkdatabase-version.t +++ b/t/00-checkdatabase-version.t @@ -38,7 +38,12 @@ foreach my $file (@files){ $line++; if (/XXX/i) { #two lines are an exception for updatedatabase (routine SetVersion and TransferToNum) - next if $file=~ /updatedatabase/ && ( /s\/XXX\$\/999\/;/ || /\$_\[0\]=~ \/XXX\$\/;/ ); + next + if $file =~ /updatedatabase/ + && ( /s\/XXX\$\/999\/;/ + || /\$_\[0\]=~ \/XXX\$\/;/ + || /version contains XXX/ + || /\$proposed_version =~ m\/XXX\// ); $xxx_found = 1; last; }