Skip to content

Commit 9c9ca63

Browse files
committed
dm vdo test: Ignore use once warning in TesstCase.pm
Add a no warnings 'once' line into TestCase.pm so that we ignore that issue and it will no longer break make jenkins. Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
1 parent df0583f commit 9c9ca63

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

perl/Permabit/Testcase.pm

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ my $GET_CONSOLE_LOG_CMD
119119

120120
my $log = Log::Log4perl->get_logger(__PACKAGE__);
121121

122+
# Avoid the "used only once" warning which causes failures in 'make jenkins'
123+
no warnings 'once';
124+
122125
##
123126
# @paramList{new}
124127
our %PROPERTIES

0 commit comments

Comments
 (0)