From 5b0d387354542dd1a6c29dab6495da72ac433491 Mon Sep 17 00:00:00 2001 From: Bruce Johnston Date: Tue, 9 Sep 2025 14:41:05 -0400 Subject: [PATCH] dm vdo test: Ignore use once warning in TestCase.pm Merge part of change 159157 made in //eng/main to common. Signed-off-by: Bruce Johnston --- perl/Permabit/Testcase.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/perl/Permabit/Testcase.pm b/perl/Permabit/Testcase.pm index f55d4a7..7f7234e 100644 --- a/perl/Permabit/Testcase.pm +++ b/perl/Permabit/Testcase.pm @@ -114,6 +114,9 @@ use base qw( # This is referenced directly from Permabit::TestRunner. our $inTeardown = 0; +# Disable "used only once: possible typo" error in RHEL8 +no warnings 'once'; + my $GET_CONSOLE_LOG_CMD = '/permabit/build/tools/lastrun/getPSIConsoleLog.py';