anchor.diff:      %% Create the releases
       Lib1 = [{a,"1.0",LibDir}],
       Lib2 = [{a,"9.0",LibDir}],
  -    Rel1 = create_and_install_fake_first_release(Dir,Lib1),
  +    Rel1 = create_and_install_fake_first_release(Conf,Dir,Lib1),
       Rel2 = create_fake_upgrade_release(Dir,"2",Lib2,{[Rel1],[Rel1],[LibDir]}),
       Rel1Dir = filename:dirname(Rel1),
       Rel2Dir = filename:dirname(Rel2),
  
positive.code:     LibDir2 = filename:join(Dir, "lib2"),
  
      %% Create the releases
      Rel1 = create_and_install_fake_first_release(Dir,
  						 [{app1,"1.0",LibDir1},
  						  {app2,"1.0",LibDir1}]),
      Rel2 = create_fake_upgrade_release(Dir,
  
negative.code: %% current running OTP release. It includes kernel, stdlib and sasl,
  %% and possibly other applications if they are listed in AppDirs =
  %% [{App,Vsn,LibDir}]
  create_and_install_fake_first_release(Conf,Dir,AppDirs) ->
      create_and_install_fake_first_release(Conf,Dir,init:script_id(),AppDirs).
  create_and_install_fake_first_release(Conf,Dir,{RelName,RelVsn},AppDirs) ->
      {Rel,_} = create_fake_release(Dir,RelName,RelVsn,AppDirs),
      ReleasesDir = filename:join(Dir, "releases"),
      RelDir = filename:dirname(Rel),
  