diff options
author | Siri Hansen <[email protected]> | 2012-05-07 12:21:02 +0200 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-08-17 11:14:37 +0200 |
commit | cfff69a3a181f2092bc4a085ca677b1b5735bda7 (patch) | |
tree | 23170e8a476cd285f9adaa7a646bba87bd6efa97 /lib/common_test/test/Makefile | |
parent | 68e0078eb58803dc4a7e0bfd801f32c2c92b7f26 (diff) | |
download | otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.tar.gz otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.tar.bz2 otp-cfff69a3a181f2092bc4a085ca677b1b5735bda7.zip |
[common_test] Add netconf client, ct_netconfc
The netconf client supports basic netconf functionality over SSH. In
order to allow testing of both success and failure cases, it is
intentionally written to allow non-standard behavior.
In order for the netconf client to use the generic connection
mechanism in common_test, ct_gen_conn has been updated to be more
flexible:
Added options:
{reconnect,bool()}
{forward_messages,bool()}
{use_existing_connection,bool()}
Allow handle_msg to return
{reply,Reply,State} |
{noreply,State} |
{stop,Reply,State}
If forward_messages==true, the ct_gen_conn callback must also
implement:
handle_msgs(Msg,State) -> {noreply,State} | {stop,State}
Diffstat (limited to 'lib/common_test/test/Makefile')
-rw-r--r-- | lib/common_test/test/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/common_test/test/Makefile b/lib/common_test/test/Makefile index 560a0b0d5a..c970593053 100644 --- a/lib/common_test/test/Makefile +++ b/lib/common_test/test/Makefile @@ -28,6 +28,7 @@ MODULES= \ ct_test_support \ ct_test_support_eh \ ct_userconfig_callback \ + ct_test_netconf_server \ ct_smoke_test_SUITE \ ct_priv_dir_SUITE \ ct_event_handler_SUITE \ @@ -45,7 +46,8 @@ MODULES= \ ct_config_SUITE \ ct_master_SUITE \ ct_misc_1_SUITE \ - ct_hooks_SUITE + ct_hooks_SUITE \ + ct_netconfc_SUITE ERL_FILES= $(MODULES:%=%.erl) @@ -100,6 +102,7 @@ release_tests_spec: $(INSTALL_DIR) "$(RELSYSDIR)" $(INSTALL_DATA) $(ERL_FILES) $(COVERFILE) "$(RELSYSDIR)" $(INSTALL_DATA) common_test.spec "$(RELSYSDIR)" + $(INSTALL_DATA) ct_netconfc.cfg "$(RELSYSDIR)" chmod -R u+w "$(RELSYSDIR)" @tar cf - *_SUITE_data | (cd "$(RELSYSDIR)"; tar xf -) |