Unbreak KPtyProcessTest::test_pty_signals test for FreeBSD
The ioctl(q->masterFd(), PTY_BYTES_AVAILABLE, available)
call returns 0 if the process is finished on FreeBSD.
Moving the p.waitForFinished(1000)
line to the end of the test fixes it for me. Not sure if this is a correct fix or just a workaround.
@ossi You seem to be knowledgeable in KPty stuff. Can you do a review for this?