From 4c909bd24aa9ef4938e643a618c9b7d28a2cde2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Ferr=C3=A3o?= <2031761+viniciusferrao@users.noreply.github.com> Date: Sat, 29 Aug 2026 16:49:55 -0300 Subject: [PATCH] test(xcatd): prepare command log module loading --- xCAT-test/unit/cmdlog_response_redact.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-test/unit/cmdlog_response_redact.t b/xCAT-test/unit/cmdlog_response_redact.t index 4bcc7054e..a934df2a8 100644 --- a/xCAT-test/unit/cmdlog_response_redact.t +++ b/xCAT-test/unit/cmdlog_response_redact.t @@ -14,6 +14,9 @@ use xCAT::xcatd; my $xcatd = repo_path('xCAT-server/sbin/xcatd'); plan skip_all => 'xcatd not found' unless -r $xcatd; +my $cmdlog_module = repo_path('xCAT-server/lib/perl/xCAT/CmdLog.pm'); +require xCAT::CmdLog if -r $cmdlog_module; + my $src = slurp_repo_file('xCAT-server/sbin/xcatd'); # Extract the three command-log response subs and load them. xcatd is present,