On 11/20/2025 5:55 PM, Stephen Hemminger wrote:
Although, it is not possible on Linux (which always uses /tmp) the compiler complains about possible snprintf() truncation.Use existing code to make empty tmp file which puts the OS specific code in one spot and avoids any races if two tests are run at once. Fixes: be22019a58c4 ("test: restore cfgfile tests") Cc: [email protected] Signed-off-by: Stephen Hemminger <[email protected]> ---
Acked-by: Anatoly Burakov <[email protected]> -- Thanks, Anatoly

