projects
/
koha.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 10572: DBrev 3.13.00.037
[koha.git]
/
t
/
00-checkdatabase-version.t
diff --git
a/t/00-checkdatabase-version.t
b/t/00-checkdatabase-version.t
index
3a3df52
..
8bb3661
100644
(file)
--- 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)
$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;
}
$xxx_found = 1;
last;
}