mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #14672 from FRRouting/mergify/bp/dev/9.1/pr-14663
tests: have unit-test check more paths for the grpc.so module (backport #14663)
This commit is contained in:
commit
73bac0e036
@ -92,6 +92,17 @@ static void static_startup(void)
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module) {
|
||||
modpath = std::string(binpath) +
|
||||
std::string("../../../lib/.libs");
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module) {
|
||||
modpath = std::string(binpath) + std::string("../../../lib");
|
||||
grpc_module = frrmod_load("grpc:50051", modpath.c_str(),
|
||||
_err_print, 0);
|
||||
}
|
||||
if (!grpc_module)
|
||||
exit(1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user