test/sim/ut_sim_dmc.c
int ut_sim_dmc(u_test_case_t * tc) {

  sim_dmc_t * dmc = NULL;
  interface_t table;

  u_dbg("Start");

  dbg_err_if(sim_dmc_table(&table));
  dbg_err_if(sim_dmc_create(&dmc));
  dbg_if(dmc == NULL);

  dbg_err_if(sim_dmc_free(dmc));

  u_dbg("Success\n");
  return U_TEST_SUCCESS;

 err:
  if (dmc) sim_dmc_free(dmc);

  u_dbg("Failure\n");
  return U_TEST_FAILURE;
}
/*****************************************************************************
 *
 *  ut_sim_dmc
 *
 *  This is a test of the bare interface; test via the proxy is below.
 *
 *****************************************************************************/
ut_sim_dmc
This is a test of the bare interface; test via the proxy is below.
ut_sim_dmc This is a test of the bare interface ; test via the proxy is below .
int ut_sim_dmc(u_test_case_t * tc) {
  sim_dmc_t * dmc = NULL;
  interface_t table;
  u_dbg("Start");
  dbg_err_if(sim_dmc_table(&table));
  dbg_err_if(sim_dmc_create(&dmc));
  dbg_if(dmc == NULL);
  dbg_err_if(sim_dmc_free(dmc));
  u_dbg("Success\n");
  return U_TEST_SUCCESS;
 err:
  if (dmc) sim_dmc_free(dmc);
  u_dbg("Failure\n");
  return U_TEST_FAILURE;
}
int ut_sim_dmc ( u_test_case_t * tc ) { sim_dmc_t * dmc = NULL ; interface_t table ; u_dbg ( " " ) ; dbg_err_if ( sim_dmc_table ( & table ) ) ; dbg_err_if ( sim_dmc_create ( & dmc ) ) ; dbg_if ( dmc == NULL ) ; dbg_err_if ( sim_dmc_free ( dmc ) ) ; u_dbg ( " \n " ) ; return U_TEST_SUCCESS ; err : if ( dmc ) sim_dmc_free ( dmc ) ; u_dbg ( " \n " ) ; return U_TEST_FAILURE ; }
ut_sim_dmc
  This is a test of the bare interface; test via the proxy is below.
ut_sim_dmc This is a test of the bare interface ; test via the proxy is below .