debugger: gracefully handle nil values
Appeared that ASAN build could return nil values from child process executed via popen. Which sporadically produces error messages: not ok 1 ..console_debugger_session.test_interactive_debugger_session # ...ntool/test/app-luatest/console_debugger_session_test.lua:11: # attempt to index local 's' (a nil value) # stack traceback: Due to used timeouts we are ok to receive nil at one of a loop cycle - we simply repeat read to popen object. So handle this case gracefully. NO_DOC=bugfix NO_CHANGELOG=internal
Please register or sign in to comment