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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user