mediatomb: use port 49154 in the test (#6320)
apsd is already using port 49153 on the Jenkins Yosemite VM.
This commit is contained in:
parent
143e4aa9ed
commit
bc025ca0c4
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue