aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/test/socket_test_lib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2018-12-14 12:05:36 +0100
committerMicael Karlberg <[email protected]>2018-12-14 12:05:36 +0100
commit2f80f039958b4ec6ab3306df777b6b1a4872a495 (patch)
tree0c7ee62dfbf9dce930433b94785cf50911b10720 /erts/emulator/test/socket_test_lib.erl
parenta33acd53524160d65929d06f06e387ce8419b1c0 (diff)
parentaed92219aacf962a9d6c71ea448809fe2c9acae6 (diff)
downloadotp-2f80f039958b4ec6ab3306df777b6b1a4872a495.tar.gz
otp-2f80f039958b4ec6ab3306df777b6b1a4872a495.tar.bz2
otp-2f80f039958b4ec6ab3306df777b6b1a4872a495.zip
Merge branch 'bmk/20180918/nififying_inet_nif_comm/OTP-14831' into bmk/20180918/nififying_inet/OTP-14831
Diffstat (limited to 'erts/emulator/test/socket_test_lib.erl')
-rw-r--r--erts/emulator/test/socket_test_lib.erl10
1 files changed, 9 insertions, 1 deletions
diff --git a/erts/emulator/test/socket_test_lib.erl b/erts/emulator/test/socket_test_lib.erl
index c36cc4fbfa..f55f338ef9 100644
--- a/erts/emulator/test/socket_test_lib.erl
+++ b/erts/emulator/test/socket_test_lib.erl
@@ -27,13 +27,15 @@
formated_timestamp/0,
format_timestamp/1,
+ %% String and format
+ f/2,
+
%% Skipping
not_yet_implemented/0,
skip/1
]).
-
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
timestamp() ->
@@ -62,6 +64,12 @@ format_timestamp({_N1, _N2, _N3} = TS) ->
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+f(F, A) ->
+ lists:flatten(io_lib:format(F, A)).
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
not_yet_implemented() ->
skip("not yet implemented").