anchor.diff: -%% Copyright (C) 2012 Björn-Egil Dahlberg
   %%
  -%% File:    code_parallel_load_SUITE.erl
  +%% %CopyrightBegin%
  +%%
  +%% Copyright Ericsson AB 2012. All Rights Reserved.
  +%%
  +%% The contents of this file are subject to the Erlang Public License,
  +%% Version 1.1, (the "License"); you may not use this file except in
  +%% compliance with the License. You should have received a copy of the
  +%% Erlang Public License along with this software. If not, it can be
  +%% retrieved online at http://www.erlang.org/.
  +%%
  +%% Software distributed under the License is distributed on an "AS IS"
  +%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
  +%% the License for the specific language governing rights and limitations
  +%% under the License.
  +%%
  +%% %CopyrightEnd%
  +%%
   %% Author:  Björn-Egil Dahlberg
  -%% Created: 2012-01-19
  +
   -module(code_parallel_load_SUITE).
   -export([
   	all/0,
  
positive.code: 	    format("f() -> ~w.~n", [T])
  	])} || T <- Ts],
  
      setup_code_changer(Codes),
      ok.
  
  setup_code_changer([{Token,Code}|Cs] = Codes) ->
      {module, ?model} = erlang:load_module(?model,Code),
      Pids = setup_checkers(Token,?number_of_processes),
      code_changer(Cs, Codes, ?interval,Pids,?passes),
      ok.
  
  code_changer(_, _, _, Pids, 0) ->
      [exit(Pid, normal) || Pid <- Pids],
      io:format("done~n"),
      ok;
  code_changer([], Codes, T, Pids, Ps) ->
  
negative.code:     [{watchdog, Dog}|Config].
  
  end_per_testcase(_Func, Config) ->
      SConf = ?config(save_config, Config),
      Pids  = proplists:get_value(purge_pids, SConf),
  
      case check_old_code(?model) of
  	true -> check_and_purge_processes_code(Pids, ?model);
  	_ ->    ok
      end,
      case erlang:delete_module(?model) of
  	true -> check_and_purge_processes_code(Pids, ?model);
  	_ ->    ok
      end,
      Dog=?config(watchdog, Config),
      ?t:timetrap_cancel(Dog).
  
  
  multiple_load_check_purge_repeat(_Conf) ->
      Ts    = [v1,v2,v3,v4,v5,v6],
  