summaryrefslogtreecommitdiff
path: root/tests/negtelnetserver.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: fix conflict between Cygwin/msys and Windows PIDsMarc Hoersken2020-04-111-1/+8
| | | | | | | | | | | | | | Add 65536 to Windows PIDs to allow Windows specific treatment by having disjunct ranges for Cygwin/msys and Windows PIDs. See also: - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=b5e1003722cb14235c4f166be72c09acdffc62ea - https://cygwin.com/git/?p=newlib-cygwin.git;a=commit; ↵ h=448cf5aa4b429d5a9cebf92a0da4ab4b5b6d23fe Replaces #5178 Closes #5188
* tests: make Python-based servers compatible with Python 2 and 3Marc Hoersken2020-03-191-7/+24
| | | | | | | | | | | | | | | | Update smbserver.py and negtelnetserver.py to be compatible with Python 3 while staying backwards-compatible to support Python 2. Fix string encoding and handling of echoed and transferred data. Tested with both Python 2.7.17 and Python 3.7.7 Reported-by: Daniel Stenberg Assisted-by: Kamil Dudka Reviewed-by: Marcel Raad Fixes #5104 Closes #5110
* tests/negtelnetserver.py: fix Python2-ism in neg TELNET serverColin Hogben2018-10-041-21/+12
| | | | | | | | Fix problems caused by differences in treatment of bytes objects between python2 and python3. Fixes #2929 Closes #3080
* test1452: add telnet negotiationMax Dymond2017-07-071-0/+349
Add a basic telnet server for negotiating some telnet options before echoing back any data that's sent to it. Closes #1645