mediatomb: use port 49154 in the test (#6320)

apsd is already using port 49153 on the Jenkins Yosemite VM.
This commit is contained in:
ilovezfs 2016-10-27 01:33:21 -07:00 committed by GitHub
parent 143e4aa9ed
commit bc025ca0c4

View file

@ -92,12 +92,12 @@ class Mediatomb < Formula
test do test do
pid = fork do pid = fork do
exec "#{bin}/mediatomb --ip 127.0.0.1 --port 49153" exec "#{bin}/mediatomb --ip 127.0.0.1 --port 49154"
end end
sleep 2 sleep 2
begin begin
assert_match "file is part of MediaTomb", shell_output("curl 127.0.0.1:49153") assert_match "file is part of MediaTomb", shell_output("curl 127.0.0.1:49154")
ensure ensure
Process.kill("SIGINT", pid) Process.kill("SIGINT", pid)
Process.wait(pid) Process.wait(pid)