receive-emptyconnect.sh test fails: dummyclient.py line 7: SyntaxError: invalid syntax
Whissi opened this issue · 0 comments
Whissi commented
FAIL: receive-emptyconnect.sh
=============================
============================================================
Test: ./receive-emptyconnect.sh
============================================================
portage 16372 16366 0 16:42 pts/2 00:00:00 /bin/sh -c set +e; bases='basic.sh.log basic-realistic.sh.log receiver
portage 16782 16381 0 16:42 pts/2 00:00:00 /bin/sh -c p='receive-emptyconnect.sh'; \ b='receive-emptyconnect.sh';
portage 16786 16782 0 16:42 pts/2 00:00:00 /bin/sh ../test-driver --test-name receive-emptyconnect.sh --log-file
portage 16787 16786 0 16:42 pts/2 00:00:00 /bin/bash ./receive-emptyconnect.sh
portage 16789 16787 0 16:42 pts/2 00:00:00 grep receive
File "./dummyclient.py", line 7
print "dummyclient info: opening and closing port " + str(port) + " without sending data"
^
SyntaxError: invalid syntax
receiver 16795 stopped
FAIL: expected message not found. Expected:
server closed relp session
librelp.out.log actually is:
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@program started up, pidfile receive.pid contains 16795
Receiver running
FAIL receive-emptyconnect.sh (exit status: 1)
Looks like a Python2 vs Python3 thing.