anchor.diff:  run_test_if_present(TestDir, Config, File) ->
       case filelib:is_dir(TestDir) of
           false ->
  -	    ?WARN("~s directory not present - skipping\n", [TestDir]),
  +            ?WARN("~s directory not present - skipping\n", [TestDir]),
               ok;
           true ->
  -	    run_test(TestDir, Config, File)
  +            run_test(TestDir, Config, File)
       end.
   
   run_test(TestDir, Config, _File) ->
       {Cmd, RawLog} = make_cmd(TestDir, Config),
       clear_log(RawLog),
       case rebar_config:get_global(verbose, "0") of
  -	"0" ->
  -	    Output = " >> " ++ RawLog ++ " 2>&1";
  -	_ ->
  -	    Output = " 2>&1 | tee -a " ++ RawLog
  +        "0" ->
  +            Output = " >> " ++ RawLog ++ " 2>&1";
  +        _ ->
  +            Output = " 2>&1 | tee -a " ++ RawLog
       end,
   
       case rebar_utils:sh(Cmd ++ Output, [{"TESTDIR", TestDir}]) of
  -	ok ->
  -	    check_log(RawLog);
  -	{error, _Rc} ->
  -	    show_log(RawLog),
  -	    ?ERROR("Executing tests failed.\n", []),
  -	    ?FAIL
  +        ok ->
  +            check_log(RawLog);
  +        {error, _Rc} ->
  +            show_log(RawLog),
  +            ?ERROR("Executing tests failed.\n", []),
  +            ?FAIL
       end.
   
   
  
positive.code: %% -------------------------------------------------------------------
  -module(rebar_ct).
  
  -export([test/2,
           int_test/2,
           perf_test/2]).
  
  -compile([export_all]).
  
  -include("rebar.hrl").
  
  
negative.code:     end.
  
  make_cmd(TestDir, _Config) ->
      Cwd = rebar_utils:get_cwd(),
      LogDir = filename:join(Cwd, "logs"),
      EbinDir = filename:absname(filename:join(Cwd, "ebin")),
      IncludeDir = filename:join(Cwd, "include"),
      case filelib:is_dir(IncludeDir) of
          true ->
              Include = " -I \"" ++ IncludeDir ++ "\"";
          false ->
              Include = ""
      end,
  
      Cmd = ?FMT("erl " % should we expand ERL_PATH?
                 " -noshell -pa \"~s\" ~s"
                 " -s ct_run script_start -s erlang halt"
                 " -name test@~s"
                 " -logdir \"~s\""
                 " -env TEST_DIR \"~s\"",
                 [EbinDir,
                  Include,
                  net_adm:localhost(),
                  LogDir,
                  filename:join(Cwd, TestDir)]) ++
          get_ct_config_file(TestDir) ++
          get_config_file(TestDir) ++
          get_suite(TestDir) ++
          get_case(),
      RawLog = filename:join(LogDir, "raw.log"),
      {Cmd, RawLog}.
  
  