anchor.diff:      Dir       = ?config(priv_subdir, Config),
       NumOpenFD = ?config(num_open_fd, Config),
   
  +    %% Create "some" config
  +    ?IPRINT("do_fd_leak_check -> create some config"),
       Entries = [
                  snmpa_conf:agent_entry(intAgentIpAddress, {0,0,0,0}),
                  snmpa_conf:agent_entry(intAgentUDPPort, 161),
  
positive.code:                            " | grep -v MOUNT | wc -l"),
      try list_to_integer(string:trim(NumString))
      catch
          _:Reason ->
              ?SKIP({failed_fstat, Reason})
      end.
  
  
  
negative.code:     %% There are other ways to test this:
      %% lsof (linux and maybe FreeBSD):    lsof -p <pid>
      %%    os:cmd("lsof -p " ++ os:getpid() ++ " | grep -v COMMAND | wc -l").
      %% fstat (FreeBSD, OpenBSD and maybe NetBSD): fstat -p <pid>
      %%    os:cmd("fstat -p " ++ os:getpid() ++ " | grep -v USER | wc -l").
      %% But this (list:dir) is good enough...
      case os:type() of
  