aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/test/percept_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2010-12-29 18:37:21 +0100
committerBjörn-Egil Dahlberg <[email protected]>2010-12-29 18:37:25 +0100
commit99372cc4053c2fa7662da2f871c9813fbf45ba7e (patch)
tree68fc7986c118ffc247fb02ed9f0890ef95388773 /lib/percept/test/percept_SUITE.erl
parentdb945cc0cb32457903854d9b4b1c00af3d68cde6 (diff)
parentb5505246856d905d3981f8e1f82dbd3ca08a6ead (diff)
downloadotp-99372cc4053c2fa7662da2f871c9813fbf45ba7e.tar.gz
otp-99372cc4053c2fa7662da2f871c9813fbf45ba7e.tar.bz2
otp-99372cc4053c2fa7662da2f871c9813fbf45ba7e.zip
Merge branch 'ao/percept-web-stop-rebased' into dev
* ao/percept-web-stop-rebased: Verifies the consistency of stopping behavior. Fixes a bug found in percept:stop_webserver/1, where it doesn't stop the webserver completely OTP-9012
Diffstat (limited to 'lib/percept/test/percept_SUITE.erl')
-rw-r--r--lib/percept/test/percept_SUITE.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/percept/test/percept_SUITE.erl b/lib/percept/test/percept_SUITE.erl
index ff7cccdaa8..964ac68481 100644
--- a/lib/percept/test/percept_SUITE.erl
+++ b/lib/percept/test/percept_SUITE.erl
@@ -70,6 +70,10 @@ 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),
ok.