Some regression tests use the Corosync object to create a temporary Corosync configuration, saving the original (if any) to a temporary name, and restoring the original when the test ends. However if a test crashes or is interrupted by the user, the original will not be restored.
Similarly on an interrupt or crash, corosync may be left running, or other test-specific cleanup may be left undone.
Use exception handling and/or atexit() to ensure the proper cleanup is always done.