aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets/test/inets_test_lib.erl
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2010-06-08 15:30:11 +0000
committerErlang/OTP <[email protected]>2010-06-08 15:30:11 +0000
commitcf0385b20b8c17220029c2419c7b97977375d86e (patch)
treecb76bc2248f20c1f5e39b00a4324f33698fe924d /lib/inets/test/inets_test_lib.erl
parent12c4d172d373b743fcd4a61584ca2aaeb25cb926 (diff)
downloadotp-cf0385b20b8c17220029c2419c7b97977375d86e.tar.gz
otp-cf0385b20b8c17220029c2419c7b97977375d86e.tar.bz2
otp-cf0385b20b8c17220029c2419c7b97977375d86e.zip
OTP-7907: [httpc|httpd] - Now allow the use of the "new" ssl.
OTP-8564: Update deprecated status. OTP-8573: Inets mod_alias URL rewrite.
Diffstat (limited to 'lib/inets/test/inets_test_lib.erl')
-rw-r--r--lib/inets/test/inets_test_lib.erl6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl
index 707b8c026a..86fc2d1a32 100644
--- a/lib/inets/test/inets_test_lib.erl
+++ b/lib/inets/test/inets_test_lib.erl
@@ -31,10 +31,16 @@
-export([info/4, log/4, debug/4, print/4]).
-export([check_body/1]).
-export([millis/0, millis_diff/2, hours/1, minutes/1, seconds/1, sleep/1]).
+-export([oscmd/1]).
-export([non_pc_tc_maybe_skip/4, os_based_skip/1]).
-export([flush/0]).
-export([start_node/1, stop_node/1]).
+%% -- Misc os command and stuff
+
+oscmd(Cmd) ->
+ string:strip(os:cmd(Cmd), right, $\n).
+
%% -- Misc node operation wrapper functions --
start_node(Name) ->