anchor.diff:      exit(Pid, shutdown),
       ok = wait_for_pid(Pid).
   
  -%% @doc Wait for a pid to exit
  +%% Wait for a pid to exit
   wait_for_pid(Pid) ->
       Mref = erlang:monitor(process, Pid),
       receive
  
positive.code:                       F(LoadStop)
                end, Apps).
  
  %% @doc Determines whether a given application should be modified in
  %% the given phase. If this returns false, the application will not be
  %% loaded, started, or stopped by `do_dep_apps/2'.
  -spec include_app_phase(Phase::load | start | stop, Application::atom()) -> true | false.
  
negative.code: %% good practice to use the same function in the `SetupFun' as the
  %% `CleanupFun' given to `cleanup/3'.
  %%
  %% see common_setup/2, dep_apps/2, do_dep_apps/2
  -spec setup(TestName::string(), fun((load|start|stop) -> any())) -> ok.
  setup(TestName, SetupFun) ->
      %% Cleanup in case a previous test did not
  