mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-07-31 18:19:40 +00:00
fix(test): load the installed networks plugin
This commit is contained in:
@@ -24,7 +24,7 @@ BEGIN {
|
||||
}
|
||||
|
||||
my $plugin = "$FindBin::Bin/../../xCAT-server/lib/xcat/plugins/networks.pm";
|
||||
$plugin = "$ENV{XCATROOT}/lib/perl/xcat/plugins/networks.pm" unless -f $plugin;
|
||||
$plugin = "$ENV{XCATROOT}/lib/perl/xCAT_plugin/networks.pm" unless -f $plugin;
|
||||
require $plugin;
|
||||
|
||||
ok(
|
||||
|
||||
Reference in New Issue
Block a user