aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmed Omar <[email protected]>2010-12-16 22:48:30 +0100
committerBjörn-Egil Dahlberg <[email protected]>2010-12-29 18:33:10 +0100
commitb5505246856d905d3981f8e1f82dbd3ca08a6ead (patch)
tree437ac6619358c985375fca9f503b67e3913abe2b
parent50d40fd0bf6c796e7acf20fc2ca377cfca734251 (diff)
downloadotp-b5505246856d905d3981f8e1f82dbd3ca08a6ead.tar.gz
otp-b5505246856d905d3981f8e1f82dbd3ca08a6ead.tar.bz2
otp-b5505246856d905d3981f8e1f82dbd3ca08a6ead.zip
Verifies the consistency of stopping behavior.
Updated the test case webserver to cover both stopping functions stop_webserver/1 and stop_webserver/0.
-rw-r--r--lib/percept/test/percept_SUITE.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/percept/test/percept_SUITE.erl b/lib/percept/test/percept_SUITE.erl
index 803ce6b95f..964ac68481 100644
--- a/lib/percept/test/percept_SUITE.erl
+++ b/lib/percept/test/percept_SUITE.erl
@@ -70,6 +70,8 @@ webserver(Config) when is_list(Config) ->
% Explicit start inets?
?line {started, _, Port} = percept:start_webserver(),
?line ok = percept:stop_webserver(Port),
+ ?line {started, _, _} = percept:start_webserver(),
+ ?line ok = percept:stop_webserver(),
?line {started, _, NewPort} = percept:start_webserver(),
?line ok = percept:stop_webserver(NewPort),
?line application:stop(inets),