summaryrefslogtreecommitdiff
path: root/tests/negtelnetserver.py
Commit message (Collapse)AuthorAgeFilesLines
* tests: be explicit about using 'python3' instead of 'python'a13460542021-08-231-1/+1
| | | | | | | This fixes running tests in virtualenvs (or on distros) that no longer have a symlink from python to python2 or python3. Closes #7602
* misc: update incorrect copyright year rangesDaniel Stenberg2021-08-161-1/+1
| | | | Closes #7577
* tests/*server.py: remove pidfile on server terminationMarc Hoersken2021-07-291-0/+3
| | | | | | | Avoid pidfile leaking/laying around after server already exited. Reviewed-by: Daniel Stenberg Closes #7506
* tests/*server.py: close log file after each log lineMarc Hoersken2020-11-141-2/+6
| | | | | | | | | | | Make sure the log file is not locked once a test has finished and align with the behavior of our logmsg. Rename curl_test_data.py to be a general util.py. Format and sort Python imports with isort/VSCode. Bug: #6058 Closes #6206
* curl.se: new homeDaniel Stenberg2020-11-041-1/+1
| | | | Closes #6172
* 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