diff options
author | Micael Karlberg <[email protected]> | 2012-02-09 12:47:01 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-02-09 12:47:01 +0100 |
commit | ff09910333c1589bf75e44fb33ad16e3cbff5000 (patch) | |
tree | 0775f7cbcc33410c57d70f046760a505ffb95459 /lib/inets/test/inets_test_lib.erl | |
parent | 1b257c80e9b1097ac762840cada2c607f1126bda (diff) | |
download | otp-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.erl | 5 |
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() ). |