anchor.diff:                ct:pal("~ts: ~ts",[File, Data])
         end, Logs).
   
  +rtnode_read_logs(Tempdir) ->
  +    {ok, LogFiles} = file:list_dir(Tempdir),
  +    lists:foldl(
  +      fun(File, Acc) ->
  +              case file:read_file(filename:join(Tempdir, File)) of
  +                  {ok, Data} ->
  +                      Acc#{ File => Data };
  +                  _ ->
  +                      Acc
  +              end
  +      end, #{}, LogFiles).
  +
   get_default_shell() ->
       try
           rtnode([{putline,""},
  
positive.code:             ok
      end,
      wait_for_runerl_server(SPid),
      {ok, LogFiles} = file:list_dir(Tempdir),
      Logs =
          lists:foldl(
            fun(File, Acc) ->
                    case file:read_file(filename:join(Tempdir, File)) of
                        {ok, Data} ->
                            Acc#{ File => Data };
                        _ ->
                            Acc
                    end
            end, #{}, LogFiles),
      file:del_dir_r(Tempdir),
      Logs.
  
  
negative.code: 		Tempdir ->
  		    XArg = " -kernel shell_history enabled -s init stop",
  		    start_runerl_command(RunErl, Tempdir, "\\\""++Erl++"\\\""++XArg),
                      Logs = rtnode_read_logs(Tempdir),
                      rtnode_dump_logs(Logs),
  		    nomatch = binary:match(maps:get("erlang.log.1",Logs),
                                             <<"*** ERROR: Shell process terminated! ***">>)
  	    end
       end.
  
  