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:                                 access = Access}}
                    when (Access =:= read) orelse
                         (Access =:= read_write) ->
                      [{num_open_fd, fun num_open_fd_using_list_dir/0} |
                       Config];
                  _ ->
                      {skip, "Not proc fd"}
              end;
          {unix, solaris} ->
              ?IPRINT("init_per_testcase -> solaris: check pfiles"),
              case os:cmd("type pfiles") of
                  [] ->
                      {skip, "pfiles not found"};
                  _ ->
                      [{num_open_fd, fun num_open_fd_using_pfiles/0} |
                       Config]
              end;
          {unix, BSD} when (BSD =:= freebsd) orelse (BSD =:= openbsd) ->
              ?IPRINT("init_per_testcase -> ~w: check fstat", [BSD]),
              case os:cmd("which fstat") of
                  [] ->
                      {skip, "fstat not found"};
                  _ ->
                      [{num_open_fd, fun num_open_fd_using_fstat/0} |
                       Config]
              end;
  
negative.code:                            " | grep -v MOUNT | wc -l"),
      try list_to_integer(string:trim(NumString))
      catch
          C:E ->
              ?EPRINT("Failed fstat: "
                      "~n      Error Class: ~p"
                      "~n      Error:       ~p", [C, E]),
              ?SKIP({failed_fstat, C, E})
      end.
  
  
  