Marc Hoersken
3f60a9e995
tests: fix conflict between Cygwin/msys and Windows PIDs
...
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
2020-04-11 23:44:52 +02:00
Marc Hoersken
3c9066fce5
tests: make Python-based servers compatible with Python 2 and 3
...
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
2020-03-19 03:26:19 +01:00
Colin Hogben
3b4f243722
tests/negtelnetserver.py: fix Python2-ism in neg TELNET server
...
Fix problems caused by differences in treatment of bytes objects between
python2 and python3.
Fixes #2929
Closes #3080
2018-10-04 08:24:40 +02:00
Max Dymond
06a6feba9d
test1452: add telnet negotiation
...
Add a basic telnet server for negotiating some telnet options before
echoing back any data that's sent to it.
Closes #1645
2017-07-07 11:00:26 +02:00