c6ec7c6 tests: Check for virQEMUDriverConfigNew return value

Authored and Committed by mprivozn 9 years ago
    tests: Check for virQEMUDriverConfigNew return value
    
    The function may return NULL if something went wrong. In some places
    in the tests we are not checking the return value rather than
    accessing the pointer directly resulting in SIGSEGV.
    
    Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
    
        
file modified
+3 -0
file modified
+2 -1
file modified
+2 -1