Bug 36176: Reject cud- for stable branches
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit 30999e675f
)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
This commit is contained in:
parent
193ac375aa
commit
7f885f405c
1 changed files with 26 additions and 0 deletions
26
xt/find-cud.t
Executable file
26
xt/find-cud.t
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
# This file is part of Koha.
|
||||
#
|
||||
# Koha is free software; you can redistribute it and/or modify it
|
||||
# under the terms of the GNU General Public License as published by
|
||||
# the Free Software Foundation; either version 3 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# Koha is distributed in the hope that it will be useful, but
|
||||
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
# GNU General Public License for more details.
|
||||
#
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with Koha; if not, see <http://www.gnu.org/licenses>.
|
||||
|
||||
use Modern::Perl;
|
||||
use Test::More tests => 1;
|
||||
use Data::Dumper;
|
||||
|
||||
my @files = `git grep 'cud-' ':(exclude)xt/find-cud.t'`;
|
||||
chomp for @files;
|
||||
|
||||
is( @files, 0, "This branch is not supposed to have 'cud-', see bug 34478." )
|
||||
or diag( Dumper \@files );
|
Loading…
Reference in a new issue