Skip to content

Commit 0bb7f27

Browse files
committed
dm vdo test: Ignore use once warning in TestCase.pm
Merge change 159157 made in //eng/main to common. Signed-off-by: Bruce Johnston <bjohnsto@redhat.com>
1 parent df0583f commit 0bb7f27

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
@@ -114,6 +114,9 @@ use base qw(
114114
# This is referenced directly from Permabit::TestRunner.
115115
our $inTeardown = 0;
116116

117+
# Disable "used only once: possible typo" error in RHEL8
118+
no warnings 'once';
119+
117120
my $GET_CONSOLE_LOG_CMD
118121
= '/permabit/build/tools/lastrun/getPSIConsoleLog.py';
119122

0 commit comments

Comments
 (0)