aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2012-08-21 17:44:49 +0200
committerLukas Larsson <[email protected]>2012-08-23 16:18:54 +0200
commita95a238719369feb1002daeacf4e1485439a38d2 (patch)
tree079cad631b8a4d42adbbc1a28b3346402f4bfa96 /lib/common_test/src
parenta62b355f2122385564f5ea2080d9705e2ef45efa (diff)
downloadotp-a95a238719369feb1002daeacf4e1485439a38d2.tar.gz
otp-a95a238719369feb1002daeacf4e1485439a38d2.tar.bz2
otp-a95a238719369feb1002daeacf4e1485439a38d2.zip
Add more cross reference links to ct docs
Diffstat (limited to 'lib/common_test/src')
-rw-r--r--lib/common_test/src/ct_ftp.erl8
-rw-r--r--lib/common_test/src/ct_netconfc.erl2
-rw-r--r--lib/common_test/src/ct_ssh.erl6
3 files changed, 8 insertions, 8 deletions
diff --git a/lib/common_test/src/ct_ftp.erl b/lib/common_test/src/ct_ftp.erl
index d1d511f137..723715c986 100644
--- a/lib/common_test/src/ct_ftp.erl
+++ b/lib/common_test/src/ct_ftp.erl
@@ -66,7 +66,7 @@
%%% {unix,[{ftp,IpAddr},
%%% {username,Username},
%%% {password,Password}]}.</pre>
-%%% @see ct:require/3
+%%% @see ct:require/2
put(KeyOrName,LocalFile,RemoteFile) ->
Fun = fun(Ftp) -> send(Ftp,LocalFile,RemoteFile) end,
open_and_do(KeyOrName,Fun).
@@ -86,7 +86,7 @@ put(KeyOrName,LocalFile,RemoteFile) ->
%%%
%%% <p>The config file must be as for put/3.</p>
%%% @see put/3
-%%% @see ct:require/3
+%%% @see ct:require/2
get(KeyOrName,RemoteFile,LocalFile) ->
Fun = fun(Ftp) -> recv(Ftp,RemoteFile,LocalFile) end,
open_and_do(KeyOrName,Fun).
@@ -108,9 +108,9 @@ get(KeyOrName,RemoteFile,LocalFile) ->
%%% specify the target. Note that a connection that has no associated target
%%% name can only be closed with the handle value.</p>
%%%
-%%% <p>See <c>ct:require/3</c> for how to create a new <c>Name</c></p>
+%%% <p>See <c>ct:require/2</c> for how to create a new <c>Name</c></p>
%%%
-%%% @see ct:require/3
+%%% @see ct:require/2
open(KeyOrName) ->
case ct_util:get_key_from_name(KeyOrName) of
{ok,node} ->
diff --git a/lib/common_test/src/ct_netconfc.erl b/lib/common_test/src/ct_netconfc.erl
index 8d2e25b946..a6b170f07e 100644
--- a/lib/common_test/src/ct_netconfc.erl
+++ b/lib/common_test/src/ct_netconfc.erl
@@ -408,7 +408,7 @@ open(Options) ->
%% server. It is not used for any other purposes during the lifetime
%% of the connection.
%%
-%% @see ct:require/3
+%% @see ct:require/2
%% @end
%%----------------------------------------------------------------------
open(KeyOrName, ExtraOpts) ->
diff --git a/lib/common_test/src/ct_ssh.erl b/lib/common_test/src/ct_ssh.erl
index 21553f5551..81a25849db 100644
--- a/lib/common_test/src/ct_ssh.erl
+++ b/lib/common_test/src/ct_ssh.erl
@@ -133,10 +133,10 @@ connect(KeyOrName, ExtraOpts) when is_list(ExtraOpts) ->
%%% is used to identify the connection, this name may
%%% be used as connection reference for subsequent calls.
%%% It's only possible to have one open connection at a time
-%%% associated with <code>Name</code>. If <code>Key</code> is
+%%% associated with <code>Name</code>. If <code>Key</code> is
%%% used, the returned handle must be used for subsequent calls
%%% (multiple connections may be opened using the config
-%%% data specified by <code>Key</code>). See <c>ct:require/3</c>
+%%% data specified by <code>Key</code>). See <c>ct:require/2</c>
%%% for how to create a new <c>Name</c></p>
%%%
%%% <p><code>ConnType</code> will always override the type
@@ -154,7 +154,7 @@ connect(KeyOrName, ExtraOpts) when is_list(ExtraOpts) ->
%%% same key in the config data. For details on valid SSH
%%% options, see the documentation for the OTP ssh application.</p>
%%%
-%%% @see ct:require/3
+%%% @see ct:require/2
connect(KeyOrName, ConnType, ExtraOpts) ->
case ct:get_config(KeyOrName) of
undefined ->