anchor.diff:                          net_adm:localhost(),
                           LogDir,
                           filename:join(Cwd, TestDir)]) ++
  -                SpecFlags ++ get_cover_config(Config, Cwd)
  -    end,
  +                      SpecFlags ++ get_cover_config(Config, Cwd)
  +          end,
       RawLog = filename:join(LogDir, "raw.log"),
       {Cmd, RawLog}.
   
  
positive.code:                         net_adm:localhost(),
                          LogDir,
                          filename:join(Cwd, TestDir)]) ++
                  get_cover_config(Config, Cwd) ++
                  get_ct_config_file(TestDir) ++
                  get_config_file(TestDir) ++
                  get_suite(TestDir) ++
                  get_case();
          SpecFlags ->
              ?FMT("erl " % should we expand ERL_PATH?
                         " -noshell -pa ~s ~s"
                         " -s ct_run script_start -s erlang halt"
                         " -name test@~s"
  
negative.code:     LogDir = filename:join(Cwd, "logs"),
      EbinDir = filename:absname(filename:join(Cwd, "ebin")),
      IncludeDir = filename:join(Cwd, "include"),
      Include = case filelib:is_dir(IncludeDir) of
                    true ->
                        " -include \"" ++ IncludeDir ++ "\"";
                    false ->
                        ""
                end,
  
      %% Add the code path of the rebar process to the code path. This
      %% includes the dependencies in the code path. The directories
  