anchor.diff:  start_server(StartNoAuth) ->
       os:cmd(os:find_executable("epmd")++" -daemon"),
       ok = maybe_start_distribution(vmq_server),
  -    Datadir = "data/" ++ atom_to_list(node()),
  +    Datadir = "/tmp/vernemq-test/data/" ++ atom_to_list(node()),
  +    os:cmd("rm -rf " ++ Datadir),
       application:load(plumtree),
       application:set_env(plumtree, plumtree_data_dir, Datadir),
       application:set_env(plumtree, metadata_root, Datadir ++ "/meta/"),
  
positive.code:                       ok
                end
        end, ok, {vmq, Tab}).
  
  del_dir(Dir) ->
      lists:foreach(fun(D) ->
                            ok = file:del_dir(D)
                    end, del_all_files([Dir], [])).
  
  del_all_files([], EmptyDirs) ->
      EmptyDirs;
  del_all_files([Dir | T], EmptyDirs) ->
      {ok, FilesInDir} = file:list_dir(Dir),
      {Files, Dirs} = lists:foldl(fun(F, {Fs, Ds}) ->
                                          Path = Dir ++ "/" ++ F,
                                          case filelib:is_dir(Path) of
                                              true ->
                                                  {Fs, [Path | Ds]};
                                              false ->
                                                  {[Path | Fs], Ds}
                                          end
                                  end, {[],[]}, FilesInDir),
      lists:foreach(fun(F) ->
                            ok = file:delete(F)
                    end, Files),
      del_all_files(T ++ Dirs, [Dir | EmptyDirs]).
  
negative.code:                                             {size,10485760},
                                              {date,"$D0"},
                                              {count,5}]}]),
      start_server_(StartNoAuth),
      disable_all_plugins().
  
  