projects
/
trust_router.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove unsupported 'reconfigure' monitoring command
[trust_router.git]
/
mon
/
tests
/
test_mon_req_decode.c
diff --git
a/mon/tests/test_mon_req_decode.c
b/mon/tests/test_mon_req_decode.c
index
19ad64d
..
7c76b18
100644
(file)
--- a/
mon/tests/test_mon_req_decode.c
+++ b/
mon/tests/test_mon_req_decode.c
@@
-11,16
+11,6
@@
#include <mon_internal.h>
/**
#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()
* @return show command with no options
*/
static MON_REQ *show_plain()
@@
-124,9
+114,6
@@
static int run_test(const char *filename, MON_REQ *(generator)())
int main(void)
{
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));
// Test show command with no options
assert(run_test("req_show_no_options.test", show_plain));