ntirpc icon indicating copy to clipboard operation
ntirpc copied to clipboard

Added NETCONFIG override by environment variable.

Open yonic2 opened this issue 1 year ago • 3 comments

The NETCONFIG location can be overidden by setting the "NETCONFIG_OVERRIDE" environment variable. This can facilitate unit testing.

yonic2 avatar Jun 26 '24 08:06 yonic2

Why do you want to override the netconfig file location?

dang avatar Jun 26 '24 13:06 dang

It's needed for unit testing. In some testing environments the file doesn't contain what libntirpc expects.

yonic2 avatar Jun 26 '24 13:06 yonic2

Would a CMake compile-time option be suitable?

dang avatar May 06 '25 14:05 dang