Open ashmrtn opened 7 years ago
May I be assigned this issue? @ashmrtn
Sure, I don't think anybody is working on this at the moment. @ashmrtn @jayashreemohan29
I can't assign the issue to @Puthranps since you are not a member of the team, but feel free to work on this and submit a PR.
Sure thanks @vijay03
Users may want to exit CrashMonkey before the test harness has finished a complete run. They should be able to hit
ctrl-c
on the shell to kill it and expect CrashMonkey to clean up resources properly.Most of this should just be catching the proper signal and then calling
cleanup_harness()
in the instance of theTester
object thatharness/c_harness.cpp
has.Right now, I know that background communication sockets aren't cleaned up, kernel module(s) aren't removed, and file systems aren't unmounted (depending on when ctrl-c is hit).