vmware-vspc/tox.ini
Darius Davis 206e36008f vSPC: Escape 'sequence' and 'secret' in replies.
The values of 'sequence' and 'secret' are arbitrary byte strings which might
contain IAC (0xff) or SE (0xf0) in any position.  Lack of escaping during
transmission might cause receiver confusion and potentially vMotion failures.

This change adds escaping of these 'sequence' and 'secret' values before
transmission.  They are already being unescaped correctly during receipt; Only
the transmit side needs to be fixed.

Change-Id: I82384424d684b931805ca921d0597ad7642f66ac
2023-06-22 09:46:05 +03:00

21 lines
501 B
INI

[tox]
envlist = py35,pep8
skipsdist = True
[testenv]
deps = -rrequirements.txt
-rtest-requirements.txt
commands = python setup.py testr --slowest --testr-args='{posargs}'
[testenv:pep8]
basepython = /usr/bin/python3
commands = flake8
[testenv:venv]
commands = {posargs}
[flake8]
# W504 skipped since you must choose either W503 or W504 (they conflict)
ignore = E121,E122,E123,E124,E125,E126,E127,E128,E129,E131,E251,H405,W504
exclude = venv,.venv,.git,.tox,dist,doc,*lib/python*,*egg,build