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/src/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/src/Makefile')
-rw-r--r-- | lib/common_test/src/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/common_test/src/Makefile b/lib/common_test/src/Makefile index 037a686963..f7dce195d7 100644 --- a/lib/common_test/src/Makefile +++ b/lib/common_test/src/Makefile @@ -70,14 +70,18 @@ MODULES= \ ct_hooks\ ct_hooks_lock\ cth_log_redirect\ - cth_surefire + cth_surefire \ + ct_netconfc \ + ct_conn_log_h \ + cth_conn_log TARGET_MODULES= $(MODULES:%=$(EBIN)/%) BEAM_FILES= $(MODULES:%=$(EBIN)/%.$(EMULATOR)) ERL_FILES= $(MODULES:=.erl) HRL_FILES = \ - ct_util.hrl + ct_util.hrl \ + ct_netconfc.hrl EXTERNAL_HRL_FILES = \ ../include/ct.hrl \ ../include/ct_event.hrl |