aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/inets_test_lib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-02-09 12:47:01 +0100
committerMicael Karlberg <[email protected]>2012-02-09 12:47:01 +0100
commitff09910333c1589bf75e44fb33ad16e3cbff5000 (patch)
tree0775f7cbcc33410c57d70f046760a505ffb95459 /lib/inets/test/inets_test_lib.erl
parent1b257c80e9b1097ac762840cada2c607f1126bda (diff)
downloadotp-ff09910333c1589bf75e44fb33ad16e3cbff5000.tar.gz
otp-ff09910333c1589bf75e44fb33ad16e3cbff5000.tar.bz2
otp-ff09910333c1589bf75e44fb33ad16e3cbff5000.zip
[inets] Minor improvement to escaped_url_in_error_body
Diffstat (limited to 'lib/inets/test/inets_test_lib.erl')
-rw-r--r--lib/inets/test/inets_test_lib.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl
index 6129607f69..a4815becba 100644
--- a/lib/inets/test/inets_test_lib.erl
+++ b/lib/inets/test/inets_test_lib.erl
@@ -31,7 +31,7 @@
send/3, close/2]).
-export([copy_file/3, copy_files/2, copy_dirs/2, del_dirs/1]).
-export([info/4, log/4, debug/4, print/4]).
--export([tsp/1, tsp/2, tsf/1]).
+-export([tsp/1, tsp/2, tsf/1, tss/1]).
-export([check_body/1]).
-export([millis/0, millis_diff/2, hours/1, minutes/1, seconds/1, sleep/1]).
-export([oscmd/1, has_ipv6_support/0, has_ipv6_support/1, print_system_info/1]).
@@ -644,6 +644,9 @@ tsp(F, A) ->
tsf(Reason) ->
test_server:fail(Reason).
+tss(Time) ->
+ test_server:sleep(Time).
+
formated_timestamp() ->
format_timestamp( os:timestamp() ).