Hi, The KPtyProcessTest::test_shared_pty from kpty/tests/kptyprocesstest.cpp test runs two processes a cat and an echo 'hello from me', connecting the processes with the pty device, so far so good, it test that the output of cat is 'hello from me', great. echo after sending its output closes stdout and dies, so the remaining part of the test seem to be testing the behaviour of two connected processes, one of which is dead and a partly closed pty device. So the second part of the test sends input to echo zombie and reads if from cat, which unexpectedly passes. And the third part sends input to cat and read it from the output of echo zombie, after waiting for input in the cats pty. This tests fails in my system, as the read string is missing the \r\n. And that's the reason why I started looking at the test code. I think that the second and third part of the test need to be updated. Please correct me if I miss something in the test or kpty documentation. Thanks, Reproducible: Always
Dear Bug Submitter, This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This is a reminder that this bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? This bug will be moved back to REPORTED Status for manual review later, which may take a while. If you are able to, please lend us a hand. Thank you for helping us make KDE software even better for everyone!
Looks like this is okay now.