Return separate counts of TID reqs that succeed and result in error
[trust_router.git] / mon / tests / test_mon_req_decode.c
index 19ad64d..360be1f 100644 (file)
 #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()
@@ -55,8 +45,8 @@ static MON_REQ *show_all_options()
       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
@@ -124,9 +114,6 @@ static int run_test(const char *filename, MON_REQ *(generator)())
 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));