summaryrefslogtreecommitdiffstats
path: root/testing/xvfb.py
diff options
context:
space:
mode:
authorderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 02:25:02 +0000
committerderat@chromium.org <derat@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-08-19 02:26:41 +0000
commitf539115f00327c512e447ba5167a88c26ff4e562 (patch)
treed4d40d0e945ec944935925b62b28a962aa061c63 /testing/xvfb.py
parent5fe7603bc84e85a57c996064f1744f2a06234c11 (diff)
downloadchromium_src-f539115f00327c512e447ba5167a88c26ff4e562.zip
chromium_src-f539115f00327c512e447ba5167a88c26ff4e562.tar.gz
chromium_src-f539115f00327c512e447ba5167a88c26ff4e562.tar.bz2
linux: Disable TCP in testing/xvfb.py.
BUG=none Review URL: https://codereview.chromium.org/482343002 Cr-Commit-Position: refs/heads/master@{#290459} git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290459 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'testing/xvfb.py')
-rwxr-xr-xtesting/xvfb.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/xvfb.py b/testing/xvfb.py
index b788469..ce53099 100755
--- a/testing/xvfb.py
+++ b/testing/xvfb.py
@@ -49,7 +49,8 @@ def start_xvfb(xvfb_path, display):
Args:
xvfb_path: Path to Xvfb.
"""
- cmd = [xvfb_path, display, '-screen', '0', '1024x768x24', '-ac']
+ cmd = [xvfb_path, display, '-screen', '0', '1024x768x24', '-ac',
+ '-nolisten', 'tcp']
try:
proc = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)