anchor.diff:  override_target_params(Config, TargetParamsConf) ->
       Dir = filename:join(?config(priv_dir, Config),"conf"),
       File = filename:join(Dir,"target_params.conf"),
  -    file:delete(File),
  -    snmp_config:write_agent_target_params_config(Dir, "", TargetParamsConf). 
  +    ok = delete_file(File),
  +    ok = snmp_config:write_agent_target_params_config(Dir, "", TargetParamsConf).
   
   %%%---------------------------------------------------------------------------
   override_notify(_, undefined) ->
  
positive.code: %%% @doc Stops the snmp manager and/or agent removes all files created.
  stop(Config) ->
      PrivDir = ?config(priv_dir, Config),
      application:stop(snmp),
      application:stop(mnesia),
      MgrDir =  filename:join(PrivDir,"mgr"),
      ConfDir = filename:join(PrivDir, "conf"),
      DbDir = filename:join(PrivDir,"db"),
  
negative.code: prepare_snmp_env() ->
      %% To make sure application:set_env is not overwritten by any
      %% app-file settings.
      _ = application:load(snmp),
      
      %% Fix for older versions of snmp where there are some
      %% inappropriate default values for alway starting an 
  