#include <mon_internal.h>
/**
- * @return reconfigure command
- */
-static MON_REQ *reconfigure()
-{
- MON_REQ *req = mon_req_new(NULL, MON_CMD_RECONFIGURE);
- assert(req);
- return req;
-}
-
-/**
* @return show command with no options
*/
static MON_REQ *show_plain()
OPT_TYPE_SHOW_CONFIG_FILES,
OPT_TYPE_SHOW_VERSION,
OPT_TYPE_SHOW_UPTIME,
- OPT_TYPE_SHOW_TID_REQ_COUNT,
- OPT_TYPE_SHOW_TID_REQ_PENDING,
+ OPT_TYPE_SHOW_TID_REQS_PROCESSED,
+ OPT_TYPE_SHOW_TID_REQS_PENDING,
OPT_TYPE_SHOW_ROUTES,
OPT_TYPE_SHOW_COMMUNITIES,
OPT_TYPE_UNKNOWN // terminator
int main(void)
{
- // Test reconfigure command
- assert(run_test("req_reconfigure.test", reconfigure));
-
// Test show command with no options
assert(run_test("req_show_no_options.test", show_plain));