Skip to content

nmci.lib: fix pexpect logs

Filip Pokryvka requested to merge fp/pexpect into master

If pexpect proc exited cleanly before it was embedded, then .expect() was never called and logfile remained empty.

Fix this by calling .expect(EOF) on ended process, which should be safe. Also condition was buggy, as it killed with 9 if EOF, not if TIMEOUT.

Closes #7 (closed)

Merge request reports