2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-04 20:17:55 +00:00

test(xcatd): prepare command log module loading

This commit is contained in:
Vinícius Ferrão
2026-08-29 16:49:55 -03:00
parent 41a0a7c613
commit 4c909bd24a
+3
View File
@@ -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,