anchor.diff:  
   assert_rebar_runs() ->
       prepare_rebar_script(),
  -    ?assert(string:str(os:cmd("./" ++ ?TMP_DIR ++ "rebar"), "Usage: rebar") =/= 0).
  +    ?assert(string:str(os:cmd(filename:nativename("./" ++ ?TMP_DIR ++ "rebar")),
  +                       "No command to run specified!") =/= 0).
   
   basic_setup_test_() ->
       {"Create a simple project with a 'test' directory, a test, and a module",
  
positive.code:         {unix, _} ->
              os:cmd("rm -rf " ++ ?TMP_DIR ++ " 2>/dev/null");
          {win32, _} ->
              %% os:cmd("rmdir /S /Q " ++ ?TMP_DIR ++ " 2>NUL")
              exit("Windows is not supported yet.")
      end.
  
  %% ====================================================================
  
negative.code: setup_basic_project() ->
      setup_environment(),
      rebar("create-app appid=myapp"),
      file:make_dir("ebin"),
      file:make_dir("test"),
      file:write_file("test/myapp_mymod_tests.erl", ?myapp_mymod_tests),
      file:write_file("src/myapp_mymod.erl", ?myapp_mymod).
  