Skip to content
  • Thomas Haller's avatar
    tests: check for no pending expected_messages on exit of tests · bb90127c
    Thomas Haller authored
    On the end of the test there should be no unchecked expected
    messages. Register a destructor function in nmtst to assert
    against that.
    
    Also call nmtst_free() in the destructor. That way, we always release
    the allocated data without requiring the test to do it explicitly.
    bb90127c