• P
    test: Refactor setting of dummy error handlers · 43f68a4f
    Peter Krempa 提交于
    Multiple tests need to register a function to quiesce errors from
    libvirt when using a connection and doing negative tests. Each of those
    tests had a static function to do so. This can be replaced by a utility
    function that enables the errors when debug is enabled.
    
    This patch adds virtTestQuiesceLibvirtErrors() and refactors test that
    use private handlers.
    43f68a4f
utiltest.c 5.9 KB