anchor.diff:      RelConfig = cuttlefish_unit:generate_templated_config(
                     ["../../../rel/files/riak.schema",
                     "../../../deps/eleveldb/priv/eleveldb.schema"],
  -                  [], context()),
  +                  [], context(), predefined_schema()),
   
       cuttlefish_unit:assert_config(RelConfig, "eleveldb.limited_developer_mem", false),
       cuttlefish_unit:assert_not_configured(RelConfig, "vm_args.-shutdown_time"),
  
positive.code: 
  basic_schema_test() ->
      Config = cuttlefish_unit:generate_templated_config(
                 ["../../../rel/files/riak.schema"], [], context()),
  
      cuttlefish_unit:assert_config(Config, "lager.handlers",
                                    [
  
negative.code: context() ->
      [{console_log_default, file},
       {platform_log_dir, "./log"},
       {devrel, false}].
  
  %% This predefined schema covers riak's dependency on
  %% platform_log_dir
  predefined_schema() ->
      Mappings = [cuttlefish_mapping:parse({mapping,
                                          "platform_log_dir",
                                          "riak_core.platform_log_dir", [
                                              {default, "./log"},
                                              {datatype, directory}
                                         ]}),
                  cuttlefish_mapping:parse({mapping,
                                          "platform_data_dir",
                                          "riak_core.platform_data_dir", [
                                              {default, "./data"},
                                              {datatype, directory}
                                         ]})
                 ],
  
      {[], Mappings, []}.
  